[FFmpeg-devel] [PATCH 1/3] avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export

James Almer jamrial at gmail.com
Tue Feb 4 03:20:05 EET 2020


On 2/3/2020 10:03 PM, Carl Eugen Hoyos wrote:
> Am So., 2. Feb. 2020 um 23:31 Uhr schrieb James Almer <jamrial at gmail.com>:
> 
>> -{"export_mvs", "export motion vectors through frame side data", 0, AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG2_EXPORT_MVS}, INT_MIN, INT_MAX, V|D, "flags2"},
>> +{"export_mvs", "export motion vectors through frame side data (Deprecated, see export_side_data)", 0, AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG2_EXPORT_MVS}, INT_MIN, INT_MAX, V|D, "flags2"},
> 
> Is there a technical reason why this functionality has to be updated
> every few years?
> 
> Carl Eugen

I was suggested to move the flag from flags2 to the new field, as it was
a better fit for it.
It doesn't "have" to, but i guess based on your concern that this flag
had the bad luck of having been moved around before?


More information about the ffmpeg-devel mailing list