summaryrefslogtreecommitdiff
path: root/libavcodec/h261enc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-16 17:02:38 +0200
committerAnton Khirnov <anton@khirnov.net>2022-08-02 11:06:48 +0200
commit4f7f5ef830100beb3433c76f7ae5e2a10a0c2230 (patch)
treea5bd6134026ddbf99a1cf1f8a1fb2b6200ba878d /libavcodec/h261enc.c
parentc6f22940e442ac2d2142ec9dce7ed8474c97aad2 (diff)
lavc/mpegvideo_enc: support AV_CODEC_CAP_ENCODER_RECON_FRAME
Diffstat (limited to 'libavcodec/h261enc.c')
-rw-r--r--libavcodec/h261enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index a1fba968a4..c8acd04839 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -411,6 +411,7 @@ const FFCodec ff_h261_encoder = {
FF_CODEC_ENCODE_CB(ff_mpv_encode_picture),
.close = ff_mpv_encode_end,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .p.capabilities = AV_CODEC_CAP_ENCODER_RECON_FRAME,
.p.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE },
};