[Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.95,1.96
Zoltan Ponekker
pontscho at mplayerhq.hu
Fri Dec 6 00:54:17 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv7201/Gui/mplayer
Modified Files:
mw.c
Log Message:
need this
Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- mw.c 29 Nov 2002 00:58:24 -0000 1.95
+++ mw.c 5 Dec 2002 23:54:15 -0000 1.96
@@ -244,8 +244,6 @@
}
extern void exit_player(char* how);
-extern int audio_id;
-extern int dvdsub_id;
extern char * dvd_device;
extern int vcd_track;
extern char * cdrom_device;
@@ -277,7 +275,14 @@
if ( guiIntfStruct.StreamType == STREAMTYPE_DVD ) goto play;
guiIntfStruct.FilenameChanged=1;
break;
-
+
+ case evSetVideo:
+ if ( !guiIntfStruct.demuxer ) break;
+ video_id=(int)param;
+ if ( guiIntfStruct.StreamType == STREAMTYPE_DVD ) goto play;
+ guiIntfStruct.FilenameChanged=1;
+ break;
+
#ifdef HAVE_VCD
case evSetVCDTrack:
guiIntfStruct.Track=(int)param;
More information about the MPlayer-cvslog
mailing list