mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
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.
This commit is contained in:
committed by
michaelni
co-authored by
michaelni
parent
8a6027a54f
commit
02da2c46d2
@@ -326,6 +326,12 @@ static void print_codec(const AVCodec *c)
|
|||||||
printf("hardware ");
|
printf("hardware ");
|
||||||
if (c->capabilities & AV_CODEC_CAP_HYBRID)
|
if (c->capabilities & AV_CODEC_CAP_HYBRID)
|
||||||
printf("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)
|
if (!c->capabilities)
|
||||||
printf("none");
|
printf("none");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user