Commit 5bcabc56 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Define snow .pix_fmts to allow colour space auto-selection.

parent b4d0c3d9
......@@ -1938,6 +1938,10 @@ AVCodec ff_snow_encoder = {
.init = encode_init,
.encode2 = encode_frame,
.close = encode_end,
.pix_fmts = (const enum PixelFormat[]){
PIX_FMT_YUV420P, PIX_FMT_YUV410P, PIX_FMT_YUV444P,
PIX_FMT_NONE
},
.long_name = NULL_IF_CONFIG_SMALL("Snow"),
.priv_class = &snowenc_class,
};
......
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