On Mon, 4 Aug 2014, Hendrik Leppkes wrote:

Am 04.08.2014 19:49 schrieb "Diego Biurrun" <[email protected]>:

It is required for the operation of the library and cannot be removed.
---

How is that?

While I don't fully agree with the wording that "is required for the operation", it's a feature that IMO makes sense to keep - in case you need it, it's really hard to achieve without this field.

IIRC you need it if you want to attach any private data that should follow along with the frame through the decoder frame reordering and all that - normally this only is done for the pkt_pts field (and this is what most people need), but in case you need to track more data than just the pts, you can put it here (and if necessary, the int64_t should fit a pointer as well).

IIRC Vladimir used to have a use for this - I hope he can elaborate on exactly what it was.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to