]> git.sesse.net Git - vlc/blobdiff - modules/control/rc.c
The playlist is not lock at this stage so let it lock itself.
[vlc] / modules / control / rc.c
index 3f79c05827a662e7fd51d93b6a87c43120d17540..54c3cad6e8607e03451cdde7302830bd70d863fe 100644 (file)
@@ -1417,7 +1417,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
             p_item = p_parent = p_playlist->items.p_elems[i_pos*2-1];
             while( p_parent->p_parent )
                 p_parent = p_parent->p_parent;
-            playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true,
+            playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false,
                     p_parent, p_item );
         }
         else
@@ -2144,7 +2144,7 @@ bool ReadCommand( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
         {
             /* Standard input closed: exit */
             vlc_value_t empty;
-            Quit( p_intf, NULL, empty, empty, NULL );
+            Quit( VLC_OBJECT(p_intf), NULL, empty, empty, NULL );
         }
 
         p_buffer[ *pi_size ] = 0;