[FFmpeg-devel] [PATCH] libavcodec/gifenc: Only write palette entries that actually used

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Feb 5 03:54:51 EET 2021


Derek Buitenhuis:
> On 04/02/2021 17:26, Paul B Mahol wrote:
>> How would that work?
>> I'm not against if that does not break existing usage.
> 
> Somethng like '-no_global_paltte 1' to not use a global
> palette, and write a palette each frame. Default would be
> off, so curent behavior is maintained.
> 
> - Derek

Could AV_CODEC_FLAG_GLOBAL_HEADER be used for this?

- Andreas


More information about the ffmpeg-devel mailing list