mirror of https://github.com/mpv-player/mpv
eq range mapping -100..100 => 0..100
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6803 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
95f431959a
commit
c473afb58e
|
@ -39,7 +39,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
|
|||
va_start(ap, arg);
|
||||
value=va_arg(ap, int);
|
||||
va_end(ap);
|
||||
if(DS_VideoDecoder_SetValue(sh->context,arg,value)==0)
|
||||
if(DS_VideoDecoder_SetValue(sh->context,arg,50+value/2)==0)
|
||||
return CONTROL_OK;
|
||||
return CONTROL_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue