[MPlayer-cvslog] r35658 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Mon Dec 10 15:08:19 CET 2012
Author: ib
Date: Mon Dec 10 15:08:19 2012
New Revision: 35658
Log:
Relocate and change code to set Chapter and Angle start values.
Limit it to DVD.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Mon Dec 10 15:04:47 2012 (r35657)
+++ trunk/gui/interface.c Mon Dec 10 15:08:19 2012 (r35658)
@@ -848,14 +848,15 @@ int gui(int what, void *data)
} 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;
More information about the MPlayer-cvslog
mailing list