[mythtv-commits] Ticket #2287: mythtv-vid: X11 Video output fixes branch
MythTV
mythtv at cvs.mythtv.org
Thu Dec 11 16:19:38 UTC 2008
#2287: mythtv-vid: X11 Video output fixes branch
---------------------+------------------------------------------------------
Reporter: danielk | Owner: danielk
Type: task | Status: accepted
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------+------------------------------------------------------
Comment(by danielk):
(In [19330]) Refs #2287. Make keyframe map syncing a bit more efficient.
First we allow the NVP to pass -1 as the end keyframe to request, which
means we want all keyframes greater than the start keyframe this avoids 1
of the two network roundtrips. Second, we use QMap::lowerBound() to find
the first keyframe greater than or equal to the start keyframe, and then
iterate until we reach the end of the map, this doesn't change the big O
performance but makes the code about a 15 times faster in practice.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2287#comment:245>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list