comparison 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
comparison
equal deleted inserted replaced
35419:d86249ebbcca 35420:89edd725a587
787 if (guiInfo.NewPlay == GUI_FILE_NEW) 787 if (guiInfo.NewPlay == GUI_FILE_NEW)
788 break; 788 break;
789 789
790 filename = NULL; 790 filename = NULL;
791 791
792 guiInfo.Track = 1; 792 if (!isPlaylistStreamtype)
793 guiInfo.Track = (guiInfo.StreamType == STREAMTYPE_VCD ? 2 : 1);
793 if (guiInfo.Chapter) 794 if (guiInfo.Chapter)
794 guiInfo.Chapter = 1; 795 guiInfo.Chapter = 1;
795 if (guiInfo.Angle) 796 if (guiInfo.Angle)
796 guiInfo.Angle = 1; 797 guiInfo.Angle = 1;
797 798