mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-18 13:00:00 +01:00
avcodec/utils: print Chroma Location string in verbose log level
It's container level information on some formats (Matroska, MXF, yuv4mpeg), so it should be printed at higher log levels than debug. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -3251,7 +3251,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
|
|||||||
av_get_colorspace_name(enc->colorspace));
|
av_get_colorspace_name(enc->colorspace));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (av_log_get_level() >= AV_LOG_DEBUG &&
|
if (av_log_get_level() >= AV_LOG_VERBOSE &&
|
||||||
enc->chroma_sample_location != AVCHROMA_LOC_UNSPECIFIED)
|
enc->chroma_sample_location != AVCHROMA_LOC_UNSPECIFIED)
|
||||||
av_strlcatf(detail, sizeof(detail), "%s, ",
|
av_strlcatf(detail, sizeof(detail), "%s, ",
|
||||||
av_chroma_location_name(enc->chroma_sample_location));
|
av_chroma_location_name(enc->chroma_sample_location));
|
||||||
|
|||||||
Reference in New Issue
Block a user