[Mplayer-cvslog] CVS: main/Gui/mplayer play.h,1.15,1.16 mw.h,1.37,1.38
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Dec 19 00:19:55 CET 2001
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv5612/Gui/mplayer
Modified Files:
play.h mw.h
Log Message:
init title change basz.
Index: play.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- play.h 15 Dec 2001 15:36:06 -0000 1.15
+++ play.h 18 Dec 2001 23:19:53 -0000 1.16
@@ -42,6 +42,7 @@
int angles;
int current_chapter;
int current_title;
+ int current_angle;
int nr_of_audio_channels;
audio_stream_t audio_streams[8];
int nr_of_subtitles;
Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- mw.h 15 Dec 2001 15:36:06 -0000 1.37
+++ mw.h 18 Dec 2001 23:19:53 -0000 1.38
@@ -240,6 +240,26 @@
}
mplPlay();
break;
+ case evSetDVDSubtitle:
+ break;
+ case evSetDVDAudio:
+ break;
+ case evSetDVDChapter:
+ mplStop();
+ dvd_title=mplShMem->DVD.current_title - 1;
+ dvd_angle=mplShMem->DVD.current_angle - 1;
+ dvd_chapter=(int)param;
+ strcpy( mplShMem->Filename,"/dev/dvd" );
+ mplPlay();
+ break;
+ case evSetDVDTitle:
+ mplStop();
+ dvd_title=(int)param;
+ dvd_chapter=1;
+ dvd_angle=1;
+ strcpy( mplShMem->Filename,"/dev/dvd" );
+ mplPlay();
+ break;
case evPause:
case evPauseSwitchToPlay:
More information about the MPlayer-cvslog
mailing list