[MPlayer-cvslog] r35560 - trunk/gui/ui/gtk/playlist.c
ib
subversion at mplayerhq.hu
Sun Dec 2 16:55:01 CET 2012
Author: ib
Date: Sun Dec 2 16:55:01 2012
New Revision: 35560
Log:
Fix bug with playlist.
The first file played twice in a newly created playlist
that previously was empty.
Modified:
trunk/gui/ui/gtk/playlist.c
Modified: trunk/gui/ui/gtk/playlist.c
==============================================================================
--- trunk/gui/ui/gtk/playlist.c Sun Dec 2 15:08:49 2012 (r35559)
+++ trunk/gui/ui/gtk/playlist.c Sun Dec 2 16:55:01 2012 (r35560)
@@ -234,7 +234,7 @@ static void plButtonReleased( GtkButton
uiUnsetFile();
uiSetFile( item->path,item->name,STREAMTYPE_FILE );
guiInfo.NewPlay = GUI_FILE_NEW;
- guiInfo.PlaylistNext = 0;
+ guiInfo.PlaylistNext = (curr.name ? 0 : 1);
guiInfo.Track = 1;
}
}
More information about the MPlayer-cvslog
mailing list