[mythtv-commits] Ticket #3789: Ringbuffer fails to switch at end of program during livetv (huge recording file)
MythTV
mythtv at cvs.mythtv.org
Fri Aug 17 08:13:58 UTC 2007
#3789: Ringbuffer fails to switch at end of program during livetv (huge recording
file)
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-----------------------+----------------------------------------------------
Comment(by stuartm):
Thanks for the log.
The most strange part of the log is the inuseprograms table bit which
happens when we should be switching buffers. There are three places that
MarkAsInUse(true, "recorder") might be called on the backend however each
of those should be accompanied by a debugging message e.g.
RingBufferChanged() so that's a little strange.
There are no transition related debug messages in that log at all which as
far as I can tell means just one thing - we are never meeting the
conditions for a ringbuffer transition.
Either:
{{
else if (!has_rec && !rec_soon && curRecording && (now >=
curRecording->endts))
}}
Or:
{{
if (lastRecording != curRecording)
}}
The second one seems more likely and I'm not even sure what it's meant to
do, but it's pretty sure to screw things up if it's ever true.
Could someone apply the patch I've attached, then create a backend log
with -v record
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3789#comment:7>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list