avcodec/v210enc: suppport frame thread for v210

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/378/head
Limin Wang 3 years ago
parent 8ecd7cdb46
commit 2ac8bcec63
  1. 2
      libavcodec/v210enc.c

@ -156,7 +156,7 @@ const AVCodec ff_v210_encoder = {
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
.type = AVMEDIA_TYPE_VIDEO,
.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),
.init = encode_init,
.encode2 = encode_frame,

Loading…
Cancel
Save