Mercurial > mplayer.hg
changeset 35414:f7c733273a13
Reset RunningTime after playback.
Only do so if no media opened.
This won't continue displaying a running time
after playback if no file is opened.
Reported by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Thu, 29 Nov 2012 11:43:40 +0000 |
parents | b092553a25c1 |
children | 725ff1d87a9a |
files | gui/interface.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Nov 29 11:39:55 2012 +0000 +++ b/gui/interface.c Thu Nov 29 11:43:40 2012 +0000 @@ -790,6 +790,7 @@ filename = NULL; if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) { + guiInfo.RunningTime = 0; guiInfo.AudioChannels = 0; uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); }