[mythtv-commits] Ticket #11141: Experimental commerciall flagging options D2 goes into finite loop on frame 0 taking 100% CPU
MythTV
noreply at mythtv.org
Mon Aug 5 15:52:54 UTC 2013
#11141: Experimental commerciall flagging options D2 goes into finite loop on frame
0 taking 100% CPU
------------------------------------------------+--------------------------
Reporter: Wayne McDougall <waynemcdougall@…> | Owner: stichnot
Type: Patch - Bug Fix | Status: accepted
Priority: minor | Milestone: 0.27
Component: MythTV - Mythcommflag | Version: Master
Severity: medium | Head
Keywords: | Resolution:
| Ticket locked: 0
------------------------------------------------+--------------------------
Comment (by stichnot):
The issue appears to be an off-by-one mismatch in frame numbering, in the
case of seeking to a specific frame number versus querying the number of
the most recently rendered frame. In the original code, this results in
continually asking to seek to the same frame. I suspect that the 'Remove
the "Seek to exact frame" setting' commit made the logic more rigorous and
exposed a preexisting issue in the experimental commflagging code.
Apart from that, it's a nice find that we can greatly speed up next-frame
seeking by avoiding actual seeking.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11141#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list