# HG changeset patch # User arpi # Date 1027635285 0 # Node ID c04345113340596ce8dc7a392faf9e509e8fc60a # Parent 7847b993acf302b9d3c0ecf678783e89ebc1d769 eq range mapping -100..100 => 0..100 diff -r 7847b993acf3 -r c04345113340 libmpcodecs/vd_dshow.c --- a/libmpcodecs/vd_dshow.c Thu Jul 25 22:13:59 2002 +0000 +++ b/libmpcodecs/vd_dshow.c Thu Jul 25 22:14:45 2002 +0000 @@ -39,7 +39,7 @@ 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; }