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

pull/59/head
Carl Eugen Hoyos 13 years ago
parent b4d0c3d9d2
commit 5bcabc56c0
  1. 4
      libavcodec/snowenc.c

@ -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,
};

Loading…
Cancel
Save