[vlc-devel] commit: Fix #2720 *only* if the ML is empty. This is a real *HACK* !! ( so please let this commit only in the branch). ( Rémi Duraffort )
git version control
git at videolan.org
Tue Jun 16 10:56:32 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Duraffort <ivoire at videolan.org> | Mon Jun 15 19:51:18 2009 +0200| [be1f4305f1203ccf5acc402fd2cc80dde3f5b1cd] | committer: Jean-Baptiste Kempf
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: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be1f4305f1203ccf5acc402fd2cc80dde3f5b1cd
---
src/playlist/control.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/playlist/control.c b/src/playlist/control.c
index 313a145..4aed888 100644
--- a/src/playlist/control.c
+++ b/src/playlist/control.c
@@ -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 )
More information about the vlc-devel
mailing list