summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-26 18:09:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-27 00:49:12 +0200
commit59a3b6b75148350f7c14db85ea18d36eac2b9611 (patch)
treef1d3308b70270b784adef283941e718f36347a31 /libavcodec/utils.c
parenta057552212fe72983fc96c9f89975c7e3f5b1f04 (diff)
avcodec_string: remove the "(hq)" listing
printing "hq" depending on a single video encoding parameter makes little sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 1f4793c1a3..6c87d15778 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2505,8 +2505,8 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
profile = av_get_profile_name(p, enc->profile);
}
- snprintf(buf, buf_size, "%s: %s%s", codec_type ? codec_type : "unknown",
- codec_name, enc->mb_decision ? " (hq)" : "");
+ snprintf(buf, buf_size, "%s: %s", codec_type ? codec_type : "unknown",
+ codec_name);
buf[0] ^= 'a' ^ 'A'; /* first letter in uppercase */
if (profile)
snprintf(buf + strlen(buf), buf_size - strlen(buf), " (%s)", profile);