[mythtv] Sluggish pause, waiting for a keyframe?

Doug Larrick doug at ties.org
Mon Nov 29 13:22:47 UTC 2004


Doug Larrick wrote:
> A little more playing around reveals that pause now appears to wait for 
> or reposition to a keyframe.  For material that has come in over ATSC, 
> this is not good news, as the keyframes can be several seconds apart 
> (typically 2-3, but I've seen as much as 10).

Isaac fixed the jumping around when entering pause (thanks, Isaac), but 
I still get a multi-second delay sometimes between pressing pause and it 
actually pausing.

A little debugging has led to the conclusion that NVP::Pause is waiting 
a long time to acquire the (newish) decoder_lock.  I haven't fully 
examined the code yet (gotta go to work), but it seems the loop in 
NVP::StartPlaying holds this lock most of the time.

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041129/bb940b94/signature.pgp


More information about the mythtv-dev mailing list