Mercurial > mplayer.hg
comparison gui/interface.c @ 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 |
comparison
equal
deleted
inserted
replaced
35416:79c77d8a34c7 | 35417:5875084661d8 |
---|---|
788 break; | 788 break; |
789 | 789 |
790 filename = NULL; | 790 filename = NULL; |
791 | 791 |
792 if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) { | 792 if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) { |
793 guiInfo.Track = 0; | |
794 guiInfo.Chapter = 0; | |
795 guiInfo.Angle = 0; | |
793 guiInfo.RunningTime = 0; | 796 guiInfo.RunningTime = 0; |
794 guiInfo.AudioChannels = 0; | 797 guiInfo.AudioChannels = 0; |
795 uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); | 798 uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); |
796 } | 799 } |
797 | 800 |