changeset 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 301d578b9142
files gui/interface.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)