mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
Define snow .pix_fmts to allow colour space auto-selection.
This commit is contained in:
parent
b4d0c3d9d2
commit
5bcabc56c0
@ -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…
Reference in New Issue
Block a user