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

ib subversion at mplayerhq.hu
Mon Dec 3 12:20:47 CET 2012


Author: ib
Date: Mon Dec  3 12:20:47 2012
New Revision: 35574

Log:
Set track at startup with a non-empty GUI playlist.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Dec  3 11:50:48 2012	(r35573)
+++ trunk/gui/interface.c	Mon Dec  3 12:20:47 2012	(r35574)
@@ -241,6 +241,7 @@ void guiInit(void)
 
     if (playlist && !filename) {
         uiSetFile(playlist->path, playlist->name, STREAMTYPE_FILE);
+        guiInfo.Track = 1;
         filename = NULL; // don't start playing
     }
 


More information about the MPlayer-cvslog mailing list