[mythtv-commits] Ticket #906: XvMC (w/nVidia drivers) can run out of frames
MythTV
mythtv at cvs.mythtv.org
Mon May 8 13:23:25 EDT 2006
#906: XvMC (w/nVidia drivers) can run out of frames
--------------------------------+-------------------------------------------
Reporter: sean at grieve.com.au | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: 0.20
Component: mythtv | Version: head
Severity: medium | Resolution:
--------------------------------+-------------------------------------------
Comment (by danielk):
(In [9881]) Refs #906. Fix for nVidia XvMC with traditional blended OSD or
Chromakey OSD which leaked "D"isplayed frames.
The problem was that when CheckDisplayedFramesForAvailability() was called
it wasn't always possible to free the frames because they were still on
screen or being rendered. This was especially a problem when skipping
forward several times in a row without letting the video play between
skips. Each skip would leak two frames that couldn't be recovered until
playback resumed, if you leaked enough frames playback couldn't be resumed
at all so you would just get prebuffer pause warnings forever.
This renames CheckDisplayedFramesForAvailability() to CheckFrameStates()
and makes it a public virtual method available in VideoOutput. By default
it does nothing, but if you are using XvMC it rechecks all the displayed
frames to see if they are available for use by the the decoder. Also
whenever prebuffering is started in the NVP this is called, so that the
prebuffering pause should eventually end, usually quickly enough so that
the pause is not noticable.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/906>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list