diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-07-10 13:22:01 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-07-10 13:22:01 +0200 |
commit | 5bcabc56c02101530679fbaaf56b365e19908427 (patch) | |
tree | d908305e99e41951e18612a6bdadcaae373cefea | |
parent | b4d0c3d9d26ca298364741ab97c51f964d61203f (diff) | |
download | ffmpeg-5bcabc56c02101530679fbaaf56b365e19908427.tar.gz |
Define snow .pix_fmts to allow colour space auto-selection.
-rw-r--r-- | libavcodec/snowenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index d6dd58cc2c..329e7c22b9 100644 --- a/libavcodec/snowenc.c +++ b/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, }; |