]> git.sesse.net Git - ffmpeg/commit
avcodec/gifenc: Add global_palette option
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 20 Feb 2021 17:22:51 +0000 (17:22 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 25 Feb 2021 16:41:24 +0000 (16:41 +0000)
commit5f2804aba71dbf4833a3cc5e7b30e8351cd9037a
treef4d4de3568fa28577d633d6e24cdcc0cb838ac34
parent6eab25fd1369e52930a19eaf0f3338bbd84e5e7b
avcodec/gifenc: Add global_palette option

This option will disable the writing of the global palette in global
GIF header if it is set to 0, causing only the frame-level palette
to ever be written.

This will be useful later on when further frame-level palette
optimizations are introduced.

The default is 1, which maintains current default behavior.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/gif.c