aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-11-26 20:42:03 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-12-09 09:10:36 +0800
commitb9f4c1231f8f07d8e62114b6d14f6aa064d19f43 (patch)
tree13bd05d953aff67490650e93b460c7a791c7fdd3
parentd39f667da155054307e143dc23b225ca88a59dc9 (diff)
downloadffmpeg-b9f4c1231f8f07d8e62114b6d14f6aa064d19f43.tar.gz
avcodec/bitpacked_enc: suppport for frame thread encode
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavcodec/bitpacked_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitpacked_enc.c b/libavcodec/bitpacked_enc.c
index 3e0ba0055e..6f540f1aed 100644
--- a/libavcodec/bitpacked_enc.c
+++ b/libavcodec/bitpacked_enc.c
@@ -109,7 +109,7 @@ const AVCodec ff_bitpacked_encoder = {
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_BITPACKED,
.priv_data_size = sizeof(struct BitpackedContext),
- .capabilities = AV_CODEC_CAP_DR1,
+ .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
.init = encode_init,
.encode2 = encode_frame,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV422P10,