]> git.sesse.net Git - vlc/blobdiff - src/playlist/control.c
Fix #2720 for master also. Finally that's not an hack as the code is build to
[vlc] / src / playlist / control.c
index 313a14506dbf966155ae66a8063ac6367f7c7c4c..4aed8889a5f90ca2f4cf4374e73a0cb462eab6c0 100644 (file)
@@ -104,7 +104,7 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
     if( !vlc_object_alive( p_playlist ) )
         return VLC_EGENERIC;
 
-    if( playlist_IsEmpty( p_playlist ) )
+    if( playlist_IsEmpty( p_playlist ) && i_query != PLAYLIST_STOP )
         return VLC_EGENERIC;
 
     switch( i_query )