diff utils.c @ 315:40d8092e2ff0 libavcodec

* using pixtype as enum - by Philip Gladstone
author kabi
date Mon, 08 Apr 2002 21:03:35 +0000
parents ac677a84d5df
children 21697f35a9ca
line wrap: on
line diff
--- a/utils.c	Mon Apr 08 12:08:03 2002 +0000
+++ b/utils.c	Mon Apr 08 21:03:35 2002 +0000
@@ -205,6 +205,7 @@
 }
 
 const char *pix_fmt_str[] = {
+    "??",
     "yuv420p",
     "yuv422",
     "rgb24",
@@ -259,6 +260,9 @@
                      enc->width, enc->height, 
                      (float)enc->frame_rate / FRAME_RATE_BASE);
         }
+        snprintf(buf + strlen(buf), buf_size - strlen(buf),
+                ", q=%d-%d", enc->qmin, enc->qmax);
+
         bitrate = enc->bit_rate;
         break;
     case CODEC_TYPE_AUDIO: