[MPlayer-cvslog] r35516 - trunk/gui/ui/main.c
ib
subversion at mplayerhq.hu
Thu Nov 29 16:10:27 CET 2012
Author: ib
Date: Thu Nov 29 16:10:27 2012
New Revision: 35516
Log:
Check and set track for DVDs just as for the other StreamTypes.
Modified:
trunk/gui/ui/main.c
Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c Thu Nov 29 15:58:39 2012 (r35515)
+++ trunk/gui/ui/main.c Thu Nov 29 16:10:27 2012 (r35516)
@@ -194,7 +194,6 @@ void uiEventHandling( int msg,float para
uiEventHandling( ivPlayDVD, 0 );
break;
case evPlayDVD:
- guiInfo.Track=1;
guiInfo.Chapter=1;
guiInfo.Angle=1;
case ivPlayDVD:
@@ -249,6 +248,8 @@ play:
guiInfoMediumClear( CLEAR_ALL - CLEAR_DVD - CLEAR_FILE );
if ( guiInfo.Playing != GUI_PAUSE )
{
+ if ( !guiInfo.Track )
+ guiInfo.Track=1;
guiInfo.NewPlay=GUI_FILE_SAME;
}
break;
More information about the MPlayer-cvslog
mailing list