mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-16 20:31:32 +00:00
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>
This commit is contained in:
parent
a057552212
commit
59a3b6b751
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user