changeset 6802:c04345113340

eq range mapping -100..100 => 0..100
author arpi
date Thu, 25 Jul 2002 22:14:45 +0000
parents 7847b993acf3
children 05571867bf3d
files libmpcodecs/vd_dshow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }