# HG changeset patch # User ib # Date 1354199006 0 # Node ID d86249ebbcca738017f196b36e5e4dff3f92b734 # Parent cedb0ba2b5c67699451176b48b1f4df453e5dadd 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). diff -r cedb0ba2b5c6 -r d86249ebbcca gui/interface.c --- 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;