[FFmpeg-cvslog] cmdutils: print threading capabilities for audio codecs

Paul B Mahol git at videolan.org
Fri Jun 7 16:27:59 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Jun  7 14:24:52 2013 +0000| [c59c0488ec14f3efe8524c70e4496d3aaef16ffc] | committer: Paul B Mahol

cmdutils: print threading capabilities for audio codecs

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c59c0488ec14f3efe8524c70e4496d3aaef16ffc
---

 cmdutils.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index ffe8d77..985c563 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)) {



More information about the ffmpeg-cvslog mailing list