aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-06-07 14:24:52 +0000
committerPaul B Mahol <onemda@gmail.com>2013-06-07 14:24:52 +0000
commitc59c0488ec14f3efe8524c70e4496d3aaef16ffc (patch)
treea56f96dfabc461fa30f21cbdaf397f6410354a3d /cmdutils.c
parentbce2ed55596a603b0dd35e000e064b9a40eee542 (diff)
downloadffmpeg-c59c0488ec14f3efe8524c70e4496d3aaef16ffc.tar.gz
cmdutils: print threading capabilities for audio codecs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index ffe8d77e4b..985c5633d4 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1214,7 +1214,8 @@ static void print_codec(const AVCodec *c)
printf("%s %s [%s]:\n", encoder ? "Encoder" : "Decoder", c->name,
c->long_name ? c->long_name : "");
- if (c->type == AVMEDIA_TYPE_VIDEO) {
+ if (c->type == AVMEDIA_TYPE_VIDEO ||
+ c->type == AVMEDIA_TYPE_AUDIO) {
printf(" Threading capabilities: ");
switch (c->capabilities & (CODEC_CAP_FRAME_THREADS |
CODEC_CAP_SLICE_THREADS)) {