[MPlayer-cvslog] r35549 - trunk/gui/ui/gtk/playlist.c
ib
subversion at mplayerhq.hu
Sat Dec 1 20:18:48 CET 2012
Author: ib
Date: Sat Dec 1 20:18:47 2012
New Revision: 35549
Log:
Fix bug with wrong track number after playlist has been cleared.
This also fixes issues with other associated information if there
is no media opened after playback.
Roughly based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de.
Modified:
trunk/gui/ui/gtk/playlist.c
Modified: trunk/gui/ui/gtk/playlist.c
==============================================================================
--- trunk/gui/ui/gtk/playlist.c Sat Dec 1 20:16:36 2012 (r35548)
+++ trunk/gui/ui/gtk/playlist.c Sat Dec 1 20:18:47 2012 (r35549)
@@ -216,7 +216,7 @@ static void plButtonReleased( GtkButton
// guiInfo.NewPlay=GUI_FILE_NEW;
// guiInfo.StreamType=STREAMTYPE_FILE;
}
- else if (isPlaylistStreamtype && !guiInfo.Playing) uiSetFile(NULL, NULL, STREAMTYPE_DUMMY);
+ else if (isPlaylistStreamtype && !guiInfo.Playing) uiUnsetFile();
}
case 0: // cancel
HidePlayList();
More information about the MPlayer-cvslog
mailing list