aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-12-07 21:48:13 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-12-22 09:27:30 +0800
commit2ac8bcec6374da529e08a684d587488287b8ed7f (patch)
tree128c785ea8be7402fa62b276ccac1e8dc3646c40
parent8ecd7cdb469ede77ca91f80f8095adf76e2eac9f (diff)
downloadffmpeg-2ac8bcec6374da529e08a684d587488287b8ed7f.tar.gz
avcodec/v210enc: suppport frame thread for v210
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavcodec/v210enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 22875be7d5..16c4f82cf2 100644
--- a/libavcodec/v210enc.c
+++ b/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,