[mythtv] [mythtv-commits] mythtv/master commit: 6c8aeb145 by Daniel Thor Kristjansson (daniel-kristjansson)

Ryan Patterson ryan.goat at gmail.com
Fri Jan 6 20:04:34 UTC 2012


On Fri, Jan 6, 2012 at 2:48 PM, MythTV <noreply at mythtv.org> wrote:
>      Author:  Daniel Thor Kristjansson <danielk at cuymedia.net>
>  Change Date:  2012-01-06T11:44:30-08:00
>   Push Date:  2012/01/06 11:48:14 -0800
>  Repository:  mythtv
>      Branch:  master
> New Revision:  6c8aeb1457a47a9987b6c82b20d93bcc8c671633
>   Changeset:  https://github.com/MythTV/mythtv/commit/6c8aeb145
>
> Log:
>
> Prevent premature exit from DRB.
>
> Now that we track recording gaps we really shouldn't abandon a recording because
> the signal is out for a few minutes. For the HD-PVR we need to reset the device
> when we don't see data for a while, but for DVB recorders we just need to keep
> trying on the existing open file descriptor. So this adds a variable to the DRB
> called poll_timeout_is_error, which is set to true for the HD-PVR and false for
> DVB devices. When set we error out on a 2.5 second timeout so the device can be
> reset, when clear we just continue waiting until we see some data or the DRB is
> told to stop recording.

Can you just clarify. . . when you say, "reset the HD-PVR device" does
that mean the user physically power cycles the HD-PVR, or is there a
reset that mythtv performs over the USB connection?

-Ryan


More information about the mythtv-dev mailing list