[FFmpeg-cvslog] Define snow .pix_fmts to allow colour space auto-selection.
Carl Eugen Hoyos
git at videolan.org
Tue Jul 10 13:23:02 CEST 2012
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Jul 10 13:22:01 2012 +0200| [5bcabc56c02101530679fbaaf56b365e19908427] | committer: Carl Eugen Hoyos
Define snow .pix_fmts to allow colour space auto-selection.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bcabc56c02101530679fbaaf56b365e19908427
---
libavcodec/snowenc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index d6dd58c..329e7c2 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,
};
More information about the ffmpeg-cvslog
mailing list