From 02da2c46d2fe984cce6426c0f63fae19b89c5a8f Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Wed, 6 May 2026 13:20:29 +0800 Subject: [PATCH] fftools/opt_common: print encoder-specific capabilities in print_codec() Add printing of AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, AV_CODEC_CAP_ENCODER_FLUSH, and AV_CODEC_CAP_ENCODER_RECON_FRAME capabilities that were defined but not displayed. --- fftools/opt_common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fftools/opt_common.c b/fftools/opt_common.c index f23055646f..82b3cf2464 100644 --- a/fftools/opt_common.c +++ b/fftools/opt_common.c @@ -326,6 +326,12 @@ static void print_codec(const AVCodec *c) printf("hardware "); if (c->capabilities & AV_CODEC_CAP_HYBRID) printf("hybrid "); + if (c->capabilities & AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE) + printf("reorderedopaque "); + if (c->capabilities & AV_CODEC_CAP_ENCODER_FLUSH) + printf("flush "); + if (c->capabilities & AV_CODEC_CAP_ENCODER_RECON_FRAME) + printf("reconframe "); if (!c->capabilities) printf("none"); printf("\n");