]> git.sesse.net Git - ffmpeg/commitdiff
lavc/jpeglsenc: Enable frame-threading.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:29:07 +0000 (13:29 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:41:11 +0000 (13:41 +0200)
libavcodec/jpeglsenc.c

index 030178f9ac6b74dd2c0df4c2ff720a6db88ff849..2f02332a340f487e4303d7df76d763c0f40f1341 100644 (file)
@@ -431,6 +431,7 @@ AVCodec ff_jpegls_encoder = {
     .id             = AV_CODEC_ID_JPEGLS,
     .init           = encode_init_ls,
     .close          = encode_close,
+    .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .encode2        = encode_picture_ls,
     .pix_fmts       = (const enum AVPixelFormat[]) {
         AV_PIX_FMT_BGR24, AV_PIX_FMT_RGB24,