lavc/lclenc: Enable frame-threading.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:28:35 +0000 (13:28 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:41:10 +0000 (13:41 +0200)
libavcodec/lclenc.c

index 0afe553..201d357 100644 (file)
@@ -197,5 +197,6 @@ AVCodec ff_zlib_encoder = {
     .init           = encode_init,
     .encode2        = encode_frame,
     .close          = encode_end,
+    .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
 };