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

index 456b3bf..dba4ffe 100644 (file)
@@ -545,6 +545,7 @@ AVCodec ff_tiff_encoder = {
     .priv_data_size = sizeof(TiffEncoderContext),
     .init           = encode_init,
     .close          = encode_close,
+    .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .encode2        = encode_frame,
     .pix_fmts       = (const enum AVPixelFormat[]) {
         AV_PIX_FMT_RGB24, AV_PIX_FMT_PAL8, AV_PIX_FMT_GRAY8,