Re: [PATCH] zoran: more fixes
Trent Piepho <[email protected]>
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2 Jun 2007, Ronald Bultje wrote: > On 6/1/07, Trent Piepho <[email protected]> wrote: > > I figured out what was keeping tvtime from being able to switch > > inputs. It > > was a problem with restarting capture after stopping it like I thought. > > The fix ended up being simple, but finding what exactly was the problem > > was > > a pain. > > > - if (btread(ZR36057_VSSFGR) & > - (ZR36057_VSSFGR_SnapShot | ZR36057_VSSFGR_FrameGrab)) > + if (btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_SnapShot) > dprintk(1, > KERN_WARNING > - "%s: zr36057_set_memgrab(1) with SnapShot or FrameGrab on!?\n", > + "%s: zr36057_set_memgrab(1) with SnapShot on!?\n", > ZR_DEVNAME(zr)); > > > Why? The rest is fine, but I don't see why this was changed. After capture stops, the FrabGrab flag is stuck at 1 (capture pending). Writing a zero to it doesn't reset it, I tried that. So this warning will print every time capture stops/starts. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/