FreeBSD Bugzilla – Attachment 40759 Details for
Bug 63985
[PATCH] multimedia/camserv: Unbreak the autobright option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
camserv-0.5.0_1,1.patch
camserv-0.5.0_1,1.patch (text/plain), 2.12 KB, created by
Ulrich Spoerlein
on 2004-03-09 13:40:11 UTC
(
hide
)
Description:
camserv-0.5.0_1,1.patch
Filename:
MIME Type:
Creator:
Ulrich Spoerlein
Created:
2004-03-09 13:40:11 UTC
Size:
2.12 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/multimedia/camserv/Makefile,v >retrieving revision 1.8 >diff -u -u -r1.8 Makefile >--- Makefile 4 Mar 2004 06:54:21 -0000 1.8 >+++ Makefile 8 Mar 2004 16:26:33 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= camserv > PORTVERSION= 0.5.0 >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= multimedia > MASTER_SITES= http://cserv.sourceforge.net/old/ >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/multimedia/camserv/pkg-plist,v >retrieving revision 1.3 >diff -u -u -r1.3 pkg-plist >--- pkg-plist 4 Mar 2004 06:29:01 -0000 1.3 >+++ pkg-plist 8 Mar 2004 16:26:33 -0000 >@@ -28,7 +28,7 @@ > lib/camserv/libvideo_fbsd_bttv.la > lib/camserv/libvideo_fbsd_bttv.so > lib/camserv/libvideo_fbsd_bttv.so.0 >-share/camserv/camserv.cfg >+share/camserv/camserv.cfg.dist > share/camserv/defpage.html > %%PORTDOCS%%%%DOCSDIR%%/README > %%PORTDOCS%%%%DOCSDIR%%/javascript.txt >--- /dev/null Mon Mar 8 17:28:09 2004 >+++ files/patch-ac Fri Mar 5 20:02:00 2004 >@@ -0,0 +1,13 @@ >+--- camserv/video_fbsd_bttv.c.orig Fri Mar 5 19:22:31 2004 >++++ camserv/video_fbsd_bttv.c Fri Mar 5 19:41:16 2004 >+@@ -644,8 +644,8 @@ >+ if( !fbttv_dev->autobright || --fbttv_dev->autoleft > 0 ) >+ return 0; >+ >+- totmean = calculate_pic_mean( width, height, picbuf, 1, 0, 0, >+- width, height ); >++ totmean = camserv_get_pic_mean( width, height, picbuf, 1, 0, 0, >++ width-1, height-1 ); >+ if( totmean < (256 / 2) - 10 || totmean > (256 / 2) + 10 ) { >+ newbright = fbttv_dev->brightness; >+ if( totmean > (256 / 2) + 10 ){ >--- /dev/null Mon Mar 8 17:28:16 2004 >+++ files/patch-ad Fri Mar 5 20:02:00 2004 >@@ -0,0 +1,12 @@ >+--- Makefile.in.orig Fri Mar 5 19:11:47 2004 >++++ Makefile.in Fri Mar 5 19:12:04 2004 >+@@ -96,3 +96,3 @@ >+ >+-data_DATA = camserv.cfg defpage.html >++data_DATA = camserv.cfg.dist defpage.html >+ EXTRA_DIST = camserv.cfg.in javascript.txt BUGS camserv.spec defpage.html >+@@ -402,3 +402,3 @@ >+ >+-camserv.cfg: camserv.cfg.in >++camserv.cfg.dist: camserv.cfg.in >+ @sed -e s%CAMSERV_MODDIR%$(CAMSERV_MODDIR)%g < camserv.cfg.in > $@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63985
: 40759