[MPlayer-cvslog] r35671 - trunk/gui/dialog/playlist.c
ib
subversion at mplayerhq.hu
Wed Dec 12 18:33:02 CET 2012
Author: ib
Date: Wed Dec 12 18:33:01 2012
New Revision: 35671
Log:
Fix setting PlaylistNext after a playlist change.
It doesn't depend on the previous state of the list, but the playing
state. (We would have a two times playback of the first item after a
change in stop mode else.)
Modified:
trunk/gui/dialog/playlist.c
Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c Wed Dec 12 18:18:01 2012 (r35670)
+++ trunk/gui/dialog/playlist.c Wed Dec 12 18:33:01 2012 (r35671)
@@ -237,7 +237,7 @@ static void plButtonReleased( GtkButton
{
uiSetFile( item->path,item->name,STREAMTYPE_FILE );
guiInfo.NewPlay = GUI_FILE_NEW;
- guiInfo.PlaylistNext = (curr.name ? False : True);
+ guiInfo.PlaylistNext = !guiInfo.Playing;
guiInfo.Track = 1;
}
}
More information about the MPlayer-cvslog
mailing list