[FFmpeg-devel] [PATCH] pkt_pts reordering

Alexander Strange astrange
Fri Jan 7 20:07:47 CET 2011


On Jan 7, 2011, at 9:37 AM, Michael Niedermayer wrote:

> There was some discussion about this, heres actual code
> I will apply this later today if noone complains
> Also after this patch it should become easier both to add multframe/thread
> decoders as well as a single timestamp through guess_correct_pts()

No complaints here...

Documentation nit:

> +     * Current packet as passed into the decoder, this here avoids having to
> +     * pass the packet to every function. The pointer cannot be expected to be
> +     * valid outside avcodec_decode_*() currently, aka this is internal to lavc
> +     * and the get/release buffer callbacks.

* Current packet as passed into the decoder, to avoid having
* to pass the packet into every function. Currently only valid
* inside lavc and get/release_buffer callbacks.




More information about the ffmpeg-devel mailing list