[FFmpeg-devel] [PATCH] Fix MPEG-TS seek and frame positions in general

Michael Niedermayer michaelni
Tue Feb 17 20:07:32 CET 2009

On Tue, Feb 17, 2009 at 11:24:27AM +0100, Ivan Schreter wrote:
> Michael Niedermayer wrote:
> >>>>> the time when a frame end/start is detected can be several packets after
> >>>>> the point where the first byte of that frame was stored.
> >>>>> the obvious way to fix this is to pass pos into av_parser_parse()
> >>>>> and reorder it like the timestamps.
> >>>>> [...]  
> >>>>>           
> > av_parser_parse() takes dts & pts currently, it should also take pos and then
> > do pretty much the same with pos that it does with dts/pts
> >   
> av_parser_parse() seems to be an inter-library API. So I cannot simply 
> add a new parameter, right? So how do I make it right?



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090217/b312cc79/attachment.pgp>

More information about the ffmpeg-devel mailing list