]> git.sesse.net Git - vlc/commitdiff
* more compilation fixes
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 May 2006 21:57:37 +0000 (21:57 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 May 2006 21:57:37 +0000 (21:57 +0000)
modules/gui/macosx/intf.m
modules/gui/macosx/playlist.m

index 9f539997e1f9f4e745ca63b3d8ede513a8d05114..d84543b0c35dbde14be605bf0e8c75c44eb33eea 100644 (file)
@@ -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;
 
index 07d8edc31978ad4d7332ffe07188ca53acbe08e8..ed84eb5efb564b731e5ebaacf326954b02056f07 100644 (file)
@@ -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 );