mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/pngenc: Enable frame threading for PNG encodes
Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bff2afb3e9
commit
616ef2e8bd
@ -450,6 +450,7 @@ AVCodec ff_png_encoder = {
|
|||||||
.priv_data_size = sizeof(PNGEncContext),
|
.priv_data_size = sizeof(PNGEncContext),
|
||||||
.init = png_enc_init,
|
.init = png_enc_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
|
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||||
.pix_fmts = (const enum PixelFormat[]){
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
PIX_FMT_RGB24, PIX_FMT_RGBA,
|
PIX_FMT_RGB24, PIX_FMT_RGBA,
|
||||||
PIX_FMT_RGB48BE, PIX_FMT_RGBA64BE,
|
PIX_FMT_RGB48BE, PIX_FMT_RGBA64BE,
|
||||||
|
Loading…
Reference in New Issue
Block a user