cmdutils: print threading capabilities for audio codecs
authorPaul B Mahol <onemda@gmail.com>
Fri, 7 Jun 2013 14:24:52 +0000 (14:24 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 7 Jun 2013 14:24:52 +0000 (14:24 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
cmdutils.c

index ffe8d77..985c563 100644 (file)
@@ -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)) {