From: Felix Paul Kühne Date: Sun, 14 May 2006 21:57:37 +0000 (+0000) Subject: * more compilation fixes X-Git-Tag: 0.9.0-test0~11238 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ccf834a51a5ba339dff515333118635aaa3b9047;p=vlc * more compilation fixes --- diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 9f539997e1..d84543b0c3 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -975,7 +975,7 @@ static VLCMain *_o_sharedMainInstance = nil; /* chapters & titles */ //b_chapters = p_intf->p_sys->p_input->stream.i_area_nb > 1; - vlc_object_release( p_input ); + vlc_object_release( p_intf->p_sys->p_input ); } [o_btn_stop setEnabled: b_input]; @@ -1022,7 +1022,7 @@ static VLCMain *_o_sharedMainInstance = nil; p_intf->p_sys->b_intf_show = VLC_FALSE; } - if( p_input && !p_input->b_die ) + if( p_intf->p_sys->p_input && !p_intf->p_sys->p_input->b_die ) { vlc_value_t val; diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 07d8edc319..ed84eb5efb 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -741,7 +741,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ { o_real_filename = o_filename; } - playlist_Export( p_playlist, [o_real_filename fileSystemRepresentation], "export-xspf" ); + playlist_Export( p_playlist, + [o_real_filename fileSystemRepresentation], + p_playlist->p_local_category, "export-xspf" ); } else { @@ -759,7 +761,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ { o_real_filename = o_filename; } - playlist_Export( p_playlist, [o_real_filename fileSystemRepresentation], p_playlist->p_local_category, "export-m3u" ); + playlist_Export( p_playlist, + [o_real_filename fileSystemRepresentation], + p_playlist->p_local_category, "export-m3u" ); } } vlc_object_release( p_playlist );