Commit cf9af0c1 authored by michael's avatar michael

Fix gifs list of supported input pix_fmts, this makes it work with swscale

it also allows encoding gif with a 4bit palette and with a graycale one as
sideeffect.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17019 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8765d9f9
......@@ -283,6 +283,6 @@ AVCodec gif_encoder = {
gif_encode_init,
gif_encode_frame,
NULL, //encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, PIX_FMT_NONE},
.pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8, PIX_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment