aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-05-25 14:57:48 +0800
committerJun Zhao <jun.zhao@intel.com>2018-05-28 18:21:35 +0800
commit90acf168a6e29713f7d1d24f3f39f1c3207a2915 (patch)
tree68fe360ecf4fbc51590c3aebfcf3d80c40140a28 /fftools
parentebf85d319087025585d31198ed691035267221b6 (diff)
downloadffmpeg-90acf168a6e29713f7d1d24f3f39f1c3207a2915.tar.gz
cmdutils: print missing caps in print_codec().
print full caps type in print_codec(). Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/cmdutils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 8ffc9d240b..70234b8923 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1414,6 +1414,16 @@ static void print_codec(const AVCodec *c)
AV_CODEC_CAP_SLICE_THREADS |
AV_CODEC_CAP_AUTO_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)
printf("none");
printf("\n");