mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
mjpegenc: enable frame multithreading encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fde1bc64ad
commit
a619fd277a
@ -504,7 +504,7 @@ AVCodec ff_mjpeg_encoder = {
|
||||
.init = ff_MPV_encode_init,
|
||||
.encode2 = ff_MPV_encode_picture,
|
||||
.close = ff_MPV_encode_end,
|
||||
.capabilities = CODEC_CAP_SLICE_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||
.capabilities = CODEC_CAP_SLICE_THREADS | CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||
.pix_fmts = (const enum PixelFormat[]){
|
||||
PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user