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

ib subversion at mplayerhq.hu
Thu Nov 29 15:30:40 CET 2012


Author: ib
Date: Thu Nov 29 15:30:40 2012
New Revision: 35514

Log:
Fix bug with resetting guiInfo's Track.

It must not be reset for a StreamType that is permitted in a playlist
and it must be set to a different value for VCD (where track 1 is a
metadata track).

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Nov 29 15:23:26 2012	(r35513)
+++ trunk/gui/interface.c	Thu Nov 29 15:30:40 2012	(r35514)
@@ -789,7 +789,8 @@ int gui(int what, void *data)
 
             filename = NULL;
 
-            guiInfo.Track   = 1;
+            if (!isPlaylistStreamtype)
+                guiInfo.Track = (guiInfo.StreamType == STREAMTYPE_VCD ? 2 : 1);
             if (guiInfo.Chapter)
                 guiInfo.Chapter = 1;
             if (guiInfo.Angle)


More information about the MPlayer-cvslog mailing list