lavc/jpeglsenc: Enable frame-threading.
This commit is contained in:
parent
64afc3bb93
commit
e91e626182
@ -431,6 +431,7 @@ AVCodec ff_jpegls_encoder = {
|
|||||||
.id = AV_CODEC_ID_JPEGLS,
|
.id = AV_CODEC_ID_JPEGLS,
|
||||||
.init = encode_init_ls,
|
.init = encode_init_ls,
|
||||||
.close = encode_close,
|
.close = encode_close,
|
||||||
|
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||||
.encode2 = encode_picture_ls,
|
.encode2 = encode_picture_ls,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||||
AV_PIX_FMT_BGR24, AV_PIX_FMT_RGB24,
|
AV_PIX_FMT_BGR24, AV_PIX_FMT_RGB24,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user