[MPlayer-cvslog] r35647 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Mon Dec 10 03:08:43 CET 2012
Author: ib
Date: Mon Dec 10 03:08:43 2012
New Revision: 35647
Log:
Don't unconditionally reset playlist to first item after playback.
Only do so if the current item isn't the first one in the list.
This will continue displaying the file's media information.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Mon Dec 10 02:54:22 2012 (r35646)
+++ trunk/gui/interface.c Mon Dec 10 03:08:43 2012 (r35647)
@@ -847,7 +847,7 @@ int gui(int what, void *data)
if (isPlaylistStreamtype) {
if (!listMgr(PLAYLIST_ITEM_GET_CURR, 0))
uiUnsetFile();
- else {
+ else if (listMgr(PLAYLIST_ITEM_GET_CURR, 0) != listMgr(PLAYLIST_GET, 0)) {
plItem *curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0));
uiSetFile(curr->path, curr->name, STREAMTYPE_FILE);
guiInfo.Track = 1;
More information about the MPlayer-cvslog
mailing list