[MPlayer-cvslog] r35645 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Mon Dec 10 02:50:02 CET 2012


Author: ib
Date: Mon Dec 10 02:50:02 2012
New Revision: 35645

Log:
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.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Dec 10 02:46:50 2012	(r35644)
+++ trunk/gui/interface.c	Mon Dec 10 02:50:02 2012	(r35645)
@@ -852,6 +852,7 @@ int gui(int what, void *data)
 
                     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