aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tiffenc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-31 13:27:51 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-31 13:41:10 +0200
commitb91bf48f00df7ff485eb2f0e33621bf65302aba9 (patch)
tree9516ee57773af256c4c50f86e6600a7ba59541ce /libavcodec/tiffenc.c
parentc528d833a919118eb9bbddb16b081be008677ce6 (diff)
downloadffmpeg-b91bf48f00df7ff485eb2f0e33621bf65302aba9.tar.gz
lavc/tiffenc: Enable frame-threading.
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r--libavcodec/tiffenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 456b3bf54a..dba4ffe70a 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -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,