[FFmpeg-cvslog] cmdutils: Check for and report the correct codec capability

Vittorio Giovara git at videolan.org
Tue Oct 27 14:07:21 CET 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Oct 19 13:57:22 2015 +0200| [fe66671bd5f446f8d0a9c70968ba8fe891efe028] | committer: Vittorio Giovara

cmdutils: Check for and report the correct codec capability

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

 cmdutils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 5cb22f6..e4bd74f 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -995,8 +995,8 @@ static void print_codec(const AVCodec *c)
     if (c->capabilities & AV_CODEC_CAP_CHANNEL_CONF)
         printf("chconf ");
     if (c->capabilities & AV_CODEC_CAP_PARAM_CHANGE)
-        printf("small ");
-    if (c->capabilities & AV_CODEC_CAP_PARAM_CHANGE)
+        printf("paramchange ");
+    if (c->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE)
         printf("variable ");
     if (c->capabilities & (AV_CODEC_CAP_FRAME_THREADS |
                            AV_CODEC_CAP_SLICE_THREADS |



More information about the ffmpeg-cvslog mailing list