[mythtv-commits] Ticket #2073: bttv port from v4l1 to v4l2

MythTV mythtv at cvs.mythtv.org
Tue Oct 3 23:56:26 UTC 2006


#2073: bttv port from v4l1 to v4l2
-------------------------------+--------------------------------------------
 Reporter:  gnome42 at gmail.com  |        Owner:  danielk
     Type:  defect             |       Status:  closed 
 Priority:  minor              |    Milestone:  0.21   
Component:  mythtv             |      Version:  head   
 Severity:  medium             |   Resolution:  fixed  
-------------------------------+--------------------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [11416]) Fixes #2073. This extends support for recovery from a EINVAL
 or EIO to v4l2 drivers other than the go7007 using modified patch from
 gnome42 at gmail.

 When the bttv v4l2 driver freaks it errors with one of these and you need
 to reset the buffer state to continue, we already had the code to do this
 with the go7007 so this just employs this for all v4l2 drivers. This is a
 safe API call for all v4l2 drivers and is recommended practice anyway. The
 reset also appears to help when the cx88 freaks out on channel changes (by
 dropping most of the damaged frames, we still need the retune hack for
 this driver when we get an EIO).

 This does not do a reset on file changes for any drivers other than the
 go7007, it only does the buffer reset on errors for normal V4L2 devices.

 (I removed the cosmetic fixes in the patch to make reading the changeset
 easier).

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2073#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list