diff options
author | Ben Jackson <ben@ben.com> | 2012-09-09 22:40:41 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-10 15:15:40 +0200 |
commit | 616ef2e8bd1d7426d03097db1c2c359adbf2fecd (patch) | |
tree | 6bfd5cd71507ad1af0ed9d850cb2859bb53e0346 /libavcodec/pngenc.c | |
parent | bff2afb3e978c9cdffdd03a2571e4f6ddab74731 (diff) | |
download | ffmpeg-616ef2e8bd1d7426d03097db1c2c359adbf2fecd.tar.gz |
lavc/pngenc: Enable frame threading for PNG encodes
Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngenc.c')
-rw-r--r-- | libavcodec/pngenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 20b3d51619..0d00a0866c 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -450,6 +450,7 @@ AVCodec ff_png_encoder = { .priv_data_size = sizeof(PNGEncContext), .init = png_enc_init, .encode2 = encode_frame, + .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY, .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_RGB48BE, PIX_FMT_RGBA64BE, |