[MPlayer-cvslog] r35579 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Mon Dec 3 15:12:14 CET 2012


Author: ib
Date: Mon Dec  3 15:12:13 2012
New Revision: 35579

Log:
Set track number in uiCurr().

Since a playlist can change on the fly during playback
by a playlist file, this ensures a correct track number.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Mon Dec  3 15:10:12 2012	(r35578)
+++ trunk/gui/ui/actions.c	Mon Dec  3 15:12:13 2012	(r35579)
@@ -326,6 +326,7 @@ void uiCurr(void)
         if (curr) {
             uiSetFile(curr->path, curr->name, STREAMTYPE_FILE);
             guiInfo.PlaylistNext = 0;
+            guiInfo.Track = (int)listMgr(PLAYLIST_ITEM_GET_POS, curr);
             break;
         }
 


More information about the MPlayer-cvslog mailing list