[mythtv-commits] Ticket #11108: RecordPreRoll doesn't work
MythTV
noreply at mythtv.org
Fri Sep 21 03:37:12 UTC 2012
#11108: RecordPreRoll doesn't work
--------------------------------------+---------------------
Reporter: mythwiki@… | Owner: gigem
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.25.2
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+---------------------
In mythtv/programs/mythbackend/scheduler.cpp, the method
Scheduler::CalcTimeToNextHandleRecordingEvent(). The fourth parameter,
prerollseconds, is not used. So, it returns a number that assumes that
parameter is zero. This means that, in Scheduler::run(), the scheduler
goes to sleep for too long around the first LOG() line, so the
RecordPreRoll parameter doesn't actually work, because the scheduler
sleeps through the intended start time.
I've patched my mythbackend locally to fix the problem, but I don't know
whether or not my fix has unintended negative consequences. My lightly
tested patch against 0.25.2 is attached.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11108>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list