[FFmpeg-cvslog] lavc/pngenc: Enable frame threading for PNG encodes
Ben Jackson
git at videolan.org
Mon Sep 10 15:46:36 CEST 2012
ffmpeg | branch: master | Ben Jackson <ben at ben.com> | Sun Sep 9 22:40:41 2012 -0700| [616ef2e8bd1d7426d03097db1c2c359adbf2fecd] | committer: Michael Niedermayer
lavc/pngenc: Enable frame threading for PNG encodes
Signed-off-by: Ben Jackson <ben at ben.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=616ef2e8bd1d7426d03097db1c2c359adbf2fecd
---
libavcodec/pngenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 20b3d51..0d00a08 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,
More information about the ffmpeg-cvslog
mailing list