Mercurial > mplayer.hg
changeset 35419:d86249ebbcca
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).
author | ib |
---|---|
date | Thu, 29 Nov 2012 14:23:26 +0000 |
parents | cedb0ba2b5c6 |
children | 89edd725a587 |
files | gui/interface.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Nov 29 14:11:03 2012 +0000 +++ b/gui/interface.c Thu Nov 29 14:23:26 2012 +0000 @@ -790,8 +790,10 @@ 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;