changeset 35417:5875084661d8

Reset guiInfo's Track, Chapter and Angle after playback. Only do so if no media opened. Roughly based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de.
author ib
date Thu, 29 Nov 2012 14:00:02 +0000
parents 79c77d8a34c7
children cedb0ba2b5c6
files gui/interface.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Nov 29 13:51:15 2012 +0000
+++ b/gui/interface.c	Thu Nov 29 14:00:02 2012 +0000
@@ -790,6 +790,9 @@
             filename = NULL;
 
             if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) {
+                guiInfo.Track         = 0;
+                guiInfo.Chapter       = 0;
+                guiInfo.Angle         = 0;
                 guiInfo.RunningTime   = 0;
                 guiInfo.AudioChannels = 0;
                 uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY);