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

ib subversion at mplayerhq.hu
Thu Nov 29 14:51:15 CET 2012


Author: ib
Date: Thu Nov 29 14:51:15 2012
New Revision: 35510

Log:
Set track counter on guiPlaylistInitialize().

The files are either enqueued or there will be no play event (evPlay).
Either way the track counter must be initialized.

Based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Nov 29 13:31:49 2012	(r35509)
+++ trunk/gui/interface.c	Thu Nov 29 14:51:15 2012	(r35510)
@@ -864,6 +864,9 @@ int guiPlaylistInitialize(play_tree_t *m
     if (enqueue)
         filename = NULL;            // don't start playing
 
+    if (result)
+        guiInfo.Track = 1;
+
     return result;
 }
 


More information about the MPlayer-cvslog mailing list