Skip to content
Snippets Groups Projects
Commit 90acf168 authored by Jun Zhao's avatar Jun Zhao Committed by Jun Zhao
Browse files

cmdutils: print missing caps in print_codec().


print full caps type in print_codec().

Signed-off-by: default avatarJun Zhao <mypopydev@gmail.com>
parent ebf85d31
No related branches found
No related tags found
No related merge requests found
...@@ -1414,6 +1414,16 @@ static void print_codec(const AVCodec *c) ...@@ -1414,6 +1414,16 @@ static void print_codec(const AVCodec *c)
AV_CODEC_CAP_SLICE_THREADS | AV_CODEC_CAP_SLICE_THREADS |
AV_CODEC_CAP_AUTO_THREADS)) AV_CODEC_CAP_AUTO_THREADS))
printf("threads "); printf("threads ");
if (c->capabilities & AV_CODEC_CAP_AVOID_PROBING)
printf("avoidprobe ");
if (c->capabilities & AV_CODEC_CAP_INTRA_ONLY)
printf("intraonly ");
if (c->capabilities & AV_CODEC_CAP_LOSSLESS)
printf("lossless ");
if (c->capabilities & AV_CODEC_CAP_HARDWARE)
printf("hardware ");
if (c->capabilities & AV_CODEC_CAP_HYBRID)
printf("hybrid ");
if (!c->capabilities) if (!c->capabilities)
printf("none"); printf("none");
printf("\n"); printf("\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment