aboutsummaryrefslogtreecommitdiff
path: root/multimedia/camserv/files/patch-ab
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-22 21:00:51 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-22 21:00:51 +0000
commit47038d6cdee802274eee7009bf1ceadffb2afab1 (patch)
treeab7abbd2ba7051f29a5ff63b69c69c0d47912d53 /multimedia/camserv/files/patch-ab
parentd8a726224461fcf43c90c0af4910cd954e5b7b90 (diff)
downloadports-47038d6cdee802274eee7009bf1ceadffb2afab1.tar.gz
ports-47038d6cdee802274eee7009bf1ceadffb2afab1.zip
Notes
Diffstat (limited to 'multimedia/camserv/files/patch-ab')
-rw-r--r--multimedia/camserv/files/patch-ab10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/camserv/files/patch-ab b/multimedia/camserv/files/patch-ab
index 8aa3fc24fa72..55890dc80281 100644
--- a/multimedia/camserv/files/patch-ab
+++ b/multimedia/camserv/files/patch-ab
@@ -8,3 +8,13 @@
#include <machine/ioctl_bt848.h>
#include <machine/ioctl_meteor.h>
#include <signal.h>
+@@ -644,7 +644,7 @@
+ if( !fbttv_dev->autobright || --fbttv_dev->autoleft > 0 )
+ return 0;
+
+ totmean = camserv_get_pic_mean( width, height, picbuf, 1, 0, 0,
+- width, height );
++ width-1, height-1 );
+ if( totmean < (256 / 2) - 10 || totmean > (256 / 2) + 10 ) {
+ newbright = fbttv_dev->brightness;
+ if( totmean > (256 / 2) + 10 ){