[FFmpeg-cvslog] lavc/ljpegenc: Enable frame-threading.

Carl Eugen Hoyos git at videolan.org
Sat May 31 14:16:37 CEST 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat May 31 13:28:16 2014 +0200| [cdfe06aeb25142bfda2664734ea97ca7780cc579] | committer: Carl Eugen Hoyos

lavc/ljpegenc: Enable frame-threading.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cdfe06aeb25142bfda2664734ea97ca7780cc579
---

 libavcodec/ljpegenc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index 6fd86ff..9b9f5dc 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,



More information about the ffmpeg-cvslog mailing list