[MPlayer-dev-eng] Re: [PATCH] dvr-ms fixes for pts, key frame detection and seeking

John Donaghy johnfdonaghy at gmail.com
Thu Feb 8 00:50:12 CET 2007

> it's a rethorical question of course, but users must accept
> limitations when they exist

I suppose my question really boils down to this: If I do something like you

"you could call repeatedly ds_fill_buffer() until you find the second
(in this case save the second pts in priv->something),
then discard all packets (ds_free_packs()) and seek back to the initial

(which it seems I have to in order to make the samples that only have
on I-frame play at all)

then is it acceptable to also override the B and P frame timestamps where
they do exist with calculated values.... and thus avoid the need for
-correct-pts. However the code might be a little more complex and harder to
follow. I'm going to assume the answer to this question is "yes" unless
anyone objects and I hope to submit a patch relatively soon.


More information about the MPlayer-dev-eng mailing list