Mercurial > mplayer.hg
comparison gui/interface.c @ 35551:99a11b051705
Set track number after resetting playlist to first item.
This is missing in r35640. (uiSetFile() clears track number.)
Patch by by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Mon, 10 Dec 2012 01:50:02 +0000 |
parents | d31d6a5c1e94 |
children | 546350153838 |
comparison
equal
deleted
inserted
replaced
35550:d31d6a5c1e94 | 35551:99a11b051705 |
---|---|
850 else { | 850 else { |
851 plItem *curr; | 851 plItem *curr; |
852 | 852 |
853 curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0)); | 853 curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0)); |
854 uiSetFile(curr->path, curr->name, STREAMTYPE_FILE); | 854 uiSetFile(curr->path, curr->name, STREAMTYPE_FILE); |
855 guiInfo.Track = 1; | |
855 } | 856 } |
856 } | 857 } |
857 | 858 |
858 guiInfo.ElapsedTime = 0; | 859 guiInfo.ElapsedTime = 0; |
859 guiInfo.Position = 0; | 860 guiInfo.Position = 0; |