Mercurial > mplayer.hg
changeset 35390:0c63a0f2e991
Don't unconditionally reset Filename and StreamType if not playing.
Only do so if the StreamType is permitted for playlists.
This fixes broken continuation of playback of a CD, DVD etc. when
closing an empty playlist with OK.
Reported by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Mon, 26 Nov 2012 10:49:33 +0000 |
parents | a54338c73df8 |
children | d076af01765d |
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 Mon Nov 26 10:48:26 2012 +0000 +++ b/gui/ui/gtk/playlist.c Mon Nov 26 10:49:33 2012 +0000 @@ -216,7 +216,7 @@ // guiInfo.NewPlay=GUI_FILE_NEW; // guiInfo.StreamType=STREAMTYPE_FILE; } - else if (!guiInfo.Playing) uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); + else if (isPlaylistStreamtype && !guiInfo.Playing) uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); } case 0: // cancel HidePlayList();