Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 1997 20:04:22 -0500
From:      Randall Hopper <rhh@ct.picker.com>
To:        multimedia@freebsd.org
Cc:        Steve Passe <smp@csn.net>
Subject:   FXTV 0.3.2 (Re: First Cut at separating tuner and capture devices)
Message-ID:  <19970323200422.10997@ct.picker.com>
In-Reply-To: <199703230637.XAA18805@Ilsa.StevesCafe.com>; from Steve Passe on Sat, Mar 22, 1997 at 11:37:41PM -0700
References:  <199703230608.XAA18434@Ilsa.StevesCafe.com> <199703230637.XAA18805@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--HFwDpU9dbj6ez1VG
Content-Type: text/plain; charset=us-ascii

Appreciate the Fxtv updates Steve.  I've rolled them into the posted
version at along with a few other misc fixes.

BTW, here's a patch for the 970322 version of the driver to fix returning
incorrect values from the GHUE and GBRIG ioctls.  I've put temporary
fixups in fxtv to account for this so folks can just use the posted driver
for now.

Randall




--HFwDpU9dbj6ez1VG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bt848.970322-GBRI-GHUE.patch"

--- brooktree848.c-970322	Sun Mar 23 05:29:51 1997
+++ brooktree848.c	Sun Mar 23 18:01:21 1997
@@ -1056,7 +1056,7 @@
 		break;
 
 	case BT848_GHUE:	/* get hue */
-		*(int*)arg = bt848[BKTR_HUE] & 0xff;
+		*(int*)arg = (signed char) (bt848[BKTR_HUE] & 0xff);
 		break;
 
 	/* brightness is a 2's compliment #, -50 to +%49.6% in 0.39% steps */
@@ -1065,7 +1065,7 @@
 		break;
 
 	case BT848_GBRIG:	/* get brightness */
-		*(int *)arg = bt848[BKTR_BRIGHT] & 0xff;
+		*(int *)arg = (signed char) (bt848[BKTR_BRIGHT] & 0xff);
 		break;
 
 	/*  */

--HFwDpU9dbj6ez1VG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970323200422.10997>