# HG changeset patch # User ib # Date 1355148499 0 # Node ID 8d4a7387d592ec44a33e3d144b0e97394e41b4e0 # Parent d4a84f674401242755a53dea692ba3297a377a02 Relocate and change code to set Chapter and Angle start values. Limit it to DVD. diff -r d4a84f674401 -r 8d4a7387d592 gui/interface.c --- a/gui/interface.c Mon Dec 10 14:04:47 2012 +0000 +++ b/gui/interface.c Mon Dec 10 14:08:19 2012 +0000 @@ -848,14 +848,15 @@ } else if (guiInfo.Playing) { int first = (guiInfo.StreamType == STREAMTYPE_VCD ? 2 : 1); - if (guiInfo.Chapter) - guiInfo.Chapter = 1; - if (guiInfo.Angle) - guiInfo.Angle = 1; if (guiInfo.Track != first) { uiUnsetMedia(); guiInfo.Track = first; } + + if (guiInfo.StreamType == STREAMTYPE_DVD) { + guiInfo.Chapter = 1; + guiInfo.Angle = 1; + } } guiInfo.ElapsedTime = 0;