[mythtv-commits] mythtv/master commit: 6c8aeb145 by Daniel Thor Kristjansson (daniel-kristjansson)
MythTV
noreply at mythtv.org
Fri Jan 6 19:48:23 UTC 2012
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.
Modified:
mythtv/libs/libmythtv/DeviceReadBuffer.cpp
mythtv/libs/libmythtv/DeviceReadBuffer.h
mythtv/libs/libmythtv/dvbstreamhandler.cpp
More information about the mythtv-commits
mailing list