mirror of https://github.com/mpv-player/mpv
need this
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8381 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
eb13fb1ec2
commit
67e827d13f
|
@ -58,7 +58,8 @@
|
|||
#define evLoadAudioFile 42
|
||||
#define evSetAspect 44
|
||||
#define evSetAudio 45
|
||||
// 46 ...
|
||||
#define evSetVideo 46
|
||||
// 47 ...
|
||||
|
||||
#define evExit 1000
|
||||
|
||||
|
|
|
@ -244,8 +244,6 @@ drawrenderedtext:
|
|||
}
|
||||
|
||||
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 @@ void mplEventHandling( int msg,float param )
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue