aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 21:03:35 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 21:03:35 +0000
commitbc657ac31dfd2458d52736e36af03615d8c1664b (patch)
tree4e1751851c8c1820236d521694377fe1cdecccd8 /libavcodec/utils.c
parent4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5 (diff)
downloadffmpeg-bc657ac31dfd2458d52736e36af03615d8c1664b.tar.gz
* using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 9a4abaa9ba..815d215757 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -205,6 +205,7 @@ AVCodec *avcodec_find(enum CodecID id)
}
const char *pix_fmt_str[] = {
+ "??",
"yuv420p",
"yuv422",
"rgb24",
@@ -259,6 +260,9 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
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: