Mercurial > mplayer.hg
changeset 35455:c9c79a011f6f
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.
author | ib |
---|---|
date | Sat, 01 Dec 2012 19:18:47 +0000 |
parents | adee37856514 |
children | 1a510ca3a047 |
files | gui/ui/gtk/playlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/playlist.c Sat Dec 01 19:16:36 2012 +0000 +++ b/gui/ui/gtk/playlist.c Sat Dec 01 19:18:47 2012 +0000 @@ -216,7 +216,7 @@ // 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();