diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-14 21:20:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-23 01:38:47 +0200 |
commit | a619fd277a7f5a341d39334c4819adf641201f0d (patch) | |
tree | b82cbc42df4167a25e61f586ebb4da6bbd7d024e | |
parent | fde1bc64adbec49301c665efab2b49b94bb39c23 (diff) | |
download | ffmpeg-a619fd277a7f5a341d39334c4819adf641201f0d.tar.gz |
mjpegenc: enable frame multithreading encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/mjpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 0bec8f2012..385a361f24 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -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 }, |