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:
arpi 2002-07-25 22:14:45 +00:00
parent 95f431959a
commit c473afb58e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
va_start(ap, arg); va_start(ap, arg);
value=va_arg(ap, int); value=va_arg(ap, int);
va_end(ap); 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_OK;
return CONTROL_FALSE; return CONTROL_FALSE;
} }