Commit be1f4305 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Jean-Baptiste Kempf

Fix #2720 *only* if the ML is empty. This is a real *HACK* !! (so please let...

Fix #2720 *only* if the ML is empty. This is a real *HACK* !! (so please let this commit only in the branch).

The ticket #2720 does still exist if the ML isn't empty.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ac48877b
......@@ -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 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment