[MPlayer-cvslog] r35511 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Thu Nov 29 15:00:02 CET 2012
Author: ib
Date: Thu Nov 29 15:00:02 2012
New Revision: 35511
Log:
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.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Thu Nov 29 14:51:15 2012 (r35510)
+++ trunk/gui/interface.c Thu Nov 29 15:00:02 2012 (r35511)
@@ -790,6 +790,9 @@ int gui(int what, void *data)
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);
More information about the MPlayer-cvslog
mailing list