diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-05-31 13:28:16 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-05-31 13:41:10 +0200 |
commit | cdfe06aeb25142bfda2664734ea97ca7780cc579 (patch) | |
tree | d8bd3a3198c2d28bf2c35b4a0bb3392e00f6169f /libavcodec/ljpegenc.c | |
parent | b91bf48f00df7ff485eb2f0e33621bf65302aba9 (diff) | |
download | ffmpeg-cdfe06aeb25142bfda2664734ea97ca7780cc579.tar.gz |
lavc/ljpegenc: Enable frame-threading.
Diffstat (limited to 'libavcodec/ljpegenc.c')
-rw-r--r-- | libavcodec/ljpegenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index 6fd86ff227..9b9f5dcf7b 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -319,6 +319,7 @@ AVCodec ff_ljpeg_encoder = { .init = ljpeg_encode_init, .encode2 = ljpeg_encode_frame, .close = ljpeg_encode_close, + .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24 , AV_PIX_FMT_BGRA , AV_PIX_FMT_BGR0, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P, |