[mythtv-commits] mythtv commit: r11416 by danielk

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


      Author: danielk
        Date: 2006-10-03 23:56:24 +0000 (Tue, 03 Oct 2006)
New Revision: 11416
   Changeset: http://cvs.mythtv.org/trac/changeset/11416

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp

Log:

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).






More information about the mythtv-commits mailing list