[FFmpeg-devel] [PATCH 2/3 v2] avcodec: add an AVCodecContext flag to export PRFT side data on demand

Anton Khirnov anton at khirnov.net
Thu Feb 20 10:49:32 EET 2020


Quoting James Almer (2020-02-19 17:42:24)
> On 2/19/2020 12:21 PM, Derek Buitenhuis wrote:
> > On 10/02/2020 18:26, James Almer wrote:
> >>      /**
> >> -     * Producer Reference Time data corresponding to the AVProducerReferenceTime struct.
> >> +     * Producer Reference Time data corresponding to the AVProducerReferenceTime struct
> >> +     * exported by some encoders (on demand through the prft flag set in the AVCodecContext
> >> +     * export_side_data field).
> >>       */
> >>      AV_PKT_DATA_PRFT,
> > 
> > Isn't this (and the x264 change) a behavior change, and thus an API/ABI break?
> 
> This flag and the x264 addition are both about a month old, and not
> present in any release, so no.

Well, technically yes. Master is supposed to be stable. But I suppose
we can be less strict for exact behavior of specific encoders, that has
never been particularly strongly specified.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list