mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/j2kenc: support threads
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
b2404bd9aa
commit
35b8b4f229
|
@ -1837,7 +1837,8 @@ const FFCodec ff_jpeg2000_encoder = {
|
|||
CODEC_LONG_NAME("JPEG 2000"),
|
||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||
.p.id = AV_CODEC_ID_JPEG2000,
|
||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
|
||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE |
|
||||
AV_CODEC_CAP_FRAME_THREADS,
|
||||
.priv_data_size = sizeof(Jpeg2000EncoderContext),
|
||||
.init = j2kenc_init,
|
||||
FF_CODEC_ENCODE_CB(encode_frame),
|
||||
|
|
Loading…
Reference in New Issue