diff gui/interface.c @ 35420:89edd725a587

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).
author ib
date Thu, 29 Nov 2012 14:30:40 +0000
parents d86249ebbcca
children 3a9048421524
line wrap: on
line diff
--- a/gui/interface.c	Thu Nov 29 14:23:26 2012 +0000
+++ b/gui/interface.c	Thu Nov 29 14:30:40 2012 +0000
@@ -789,7 +789,8 @@
 
             filename = NULL;
 
-            guiInfo.Track   = 1;
+            if (!isPlaylistStreamtype)
+                guiInfo.Track = (guiInfo.StreamType == STREAMTYPE_VCD ? 2 : 1);
             if (guiInfo.Chapter)
                 guiInfo.Chapter = 1;
             if (guiInfo.Angle)