[FFmpeg-cvslog] avcodec/v210enc: suppport frame thread for v210
Limin Wang
git at videolan.org
Wed Dec 22 03:28:10 EET 2021
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Tue Dec 7 21:48:13 2021 +0800| [2ac8bcec6374da529e08a684d587488287b8ed7f] | committer: Limin Wang
avcodec/v210enc: suppport frame thread for v210
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ac8bcec6374da529e08a684d587488287b8ed7f
---
libavcodec/v210enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the ffmpeg-cvslog
mailing list