Date: Tue, 18 Mar 1997 14:25:29 -0700 From: Steve Passe <smp@csn.net> To: Randall Hopper <rhh@ct.picker.com> Cc: multimedia@freebsd.org Subject: Re: latest bt848 code Message-ID: <199703182125.OAA18595@Ilsa.StevesCafe.com> In-Reply-To: Your message of "Tue, 18 Mar 1997 14:06:46 EST." <19970318140646.02069@ct.picker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > |the problem is in fxtv: > | > | tvcapture.c:TVCAPTUREStart(), around line 458: here Randall is resetting > |the color values each time. I discussed this with him, he was doing it > |because of warnings about the driver easily loosing state of many values. > |If you remove these lines the problem goes away without any side-effects > |(that I can see). > | > |Randall, have you attempted to deal with this yet in your source tree? > >I did a rev last week (0.0.2, http://multiverse.com/~rhh/fxtv) to permit >not always setting all parameters on startup and with each capture >(e.g. input device, etc.), but I too noticed that the driver seemed to be >forgetting the brightness/contrast across starts (I didn't have hue and U/V >sat in that version). So I left the "changed" bit on for these two >parameters even after they were registered with the driver so that the next >start would re-register these values. I have identified the basic problem as being that fxtv closes the device and then re-opens it every time the window is moved!. If you happen to have it open with another client (such as xtvr) at the time you move the window nothing bad happens, as the open routine ends early. But if no other clients are active the close completes, and the open reinitializes the hardware. this is where all the tuner values are lost. so the question why the close/open calls for every re-draw? (i merely put printf()s in the driver in both open and close to show this behaviour, am about to go look at the fxtv source) -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703182125.OAA18595>