Opened 17 years ago
Closed 17 years ago
#3507 closed defect (worksforme)
NUV file EOF detection is broken
Reported by: | anonymous | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
This has been broken for a long time (since the livetv ringbuffer change?) but no one has reported it I think. Probably the cause for ticket 3440 as well, mythcommflag aborting early.
nuppeldecoder.cpp gets false EOF positives for in-progress recordings, and sometimes recordings that have been paused for a long time. Playbacks basically end early and ask for deletion.
This appears to be happening around line 940 and 948, the first two checks after "while(!gotvideo)". I think the fix would be similar to the changes made to ivtvdecoder.cpp http://svn.mythtv.org/trac/changeset/8883, but I just don't know what the equivalent variables are and how to get them (or how they work in ivtvdecoder.cpp)
Is there anything printed in the frontend logs when this happens? Is the ringbuffer code being starved?