avcodec/bitpacked_enc: suppport for frame thread encode

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/375/head
Limin Wang 3 years ago
parent d39f667da1
commit b9f4c1231f
  1. 2
      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,

Loading…
Cancel
Save