mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/ljpegenc: Enable frame-threading.
This commit is contained in:
parent
b91bf48f00
commit
cdfe06aeb2
@ -319,6 +319,7 @@ AVCodec ff_ljpeg_encoder = {
|
|||||||
.init = ljpeg_encode_init,
|
.init = ljpeg_encode_init,
|
||||||
.encode2 = ljpeg_encode_frame,
|
.encode2 = ljpeg_encode_frame,
|
||||||
.close = ljpeg_encode_close,
|
.close = ljpeg_encode_close,
|
||||||
|
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]){
|
.pix_fmts = (const enum AVPixelFormat[]){
|
||||||
AV_PIX_FMT_BGR24 , AV_PIX_FMT_BGRA , AV_PIX_FMT_BGR0,
|
AV_PIX_FMT_BGR24 , AV_PIX_FMT_BGRA , AV_PIX_FMT_BGR0,
|
||||||
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
|
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
|
||||||
|
Loading…
Reference in New Issue
Block a user