mirror of https://github.com/mpv-player/mpv
add mixer support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@460 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31063c5f27
commit
d72468bace
13
mplayer.c
13
mplayer.c
|
@ -431,6 +431,7 @@ float sub_delay=0;
|
|||
float sub_fps=0;
|
||||
//int user_bpp=0;
|
||||
|
||||
#include "mixer.h"
|
||||
#include "cfg-mplayer.h"
|
||||
|
||||
printf("%s",banner_text);
|
||||
|
@ -1578,6 +1579,18 @@ switch(sh_video->codec->driver){
|
|||
case 'o': // toggle OSD
|
||||
osd_level=(osd_level+1)%3;
|
||||
break;
|
||||
case '*':
|
||||
mixer_incvolume();
|
||||
break;
|
||||
case '/':
|
||||
mixer_decvolume();
|
||||
break;
|
||||
case 'm':
|
||||
mixer_usemaster=1;
|
||||
break;;
|
||||
case 'c':
|
||||
mixer_usemaster=0;
|
||||
break;
|
||||
}
|
||||
if(rel_seek_secs)
|
||||
if(file_format==DEMUXER_TYPE_AVI && avi_header.idx_size<=0){
|
||||
|
|
Loading…
Reference in New Issue