mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/v210enc: suppport frame thread for v210
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
8ecd7cdb46
commit
2ac8bcec63
|
@ -156,7 +156,7 @@ const AVCodec ff_v210_encoder = {
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.id = AV_CODEC_ID_V210,
|
.id = AV_CODEC_ID_V210,
|
||||||
.capabilities = AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.priv_data_size = sizeof(V210EncContext),
|
.priv_data_size = sizeof(V210EncContext),
|
||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
|
|
Loading…
Reference in New Issue