[MPlayer-cvslog] r35513 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Thu Nov 29 15:23:26 CET 2012
Author: ib
Date: Thu Nov 29 15:23:26 2012
New Revision: 35513
Log:
Don't unconditionally reset Track, Chapter and Angle after playback.
Only do so if they had been used (i.e. the current StreamType makes
use of them).
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Thu Nov 29 15:11:03 2012 (r35512)
+++ trunk/gui/interface.c Thu Nov 29 15:23:26 2012 (r35513)
@@ -790,8 +790,10 @@ int gui(int what, void *data)
filename = NULL;
guiInfo.Track = 1;
- guiInfo.Chapter = 1;
- guiInfo.Angle = 1;
+ if (guiInfo.Chapter)
+ guiInfo.Chapter = 1;
+ if (guiInfo.Angle)
+ guiInfo.Angle = 1;
if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) {
guiInfo.Track = 0;
More information about the MPlayer-cvslog
mailing list