# HG changeset patch # User ib # Date 1353926973 0 # Node ID 0c63a0f2e99179e823f4afe32200be22fafe35c7 # Parent a54338c73df8a7fee9bfca4530bbf8afe45fd489 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. diff -r a54338c73df8 -r 0c63a0f2e991 gui/ui/gtk/playlist.c --- 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();