Possible AVSync Bug - was Re: [mythtv] Video playback problems
phil-vid at stolenshoes.net
phil-vid at stolenshoes.net
Fri Oct 22 07:39:17 UTC 2004
>> I believe I am close to identifying the source of these playback
>> problems.
>> In the AVSync() code in NuppelVideoPlayer.cpp there is a section which
>> drops frames if the A/V diverges. It does not appear to clean up the
>> frame
>> properly, which chews up a frame from the usedVideoFrames buffer queue
>> every iteration.
>
> Doesn't make sense - the cleanup of the frame is done outside of that
> function, and the other clauses of that if statement don't do anything
> differently wrt marking the frame unused..
>
There is also a DiscardFrame call inside videoout_xvmc.cpp :: Show(). Does
it sound possible that this is leaking a frame when not called?
phil
More information about the mythtv-dev
mailing list