From 8f1ec91b4502ee5bb3d0e104f9d21fb09e10d64f Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Nov 2016 14:04:19 +0100 Subject: mp_image: dump all mp_colorspace members in verbose logging Also extend the default buffer size for formatting this string, because it can get too damn long. --- video/mp_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/mp_image.h') diff --git a/video/mp_image.h b/video/mp_image.h index 13e364ae24..7c0f7bad7e 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -133,7 +133,7 @@ void mp_image_params_guess_csp(struct mp_image_params *params); char *mp_image_params_to_str_buf(char *b, size_t bs, const struct mp_image_params *p); -#define mp_image_params_to_str(p) mp_image_params_to_str_buf((char[80]){0}, 80, p) +#define mp_image_params_to_str(p) mp_image_params_to_str_buf((char[99]){0}, 99, p) bool mp_image_params_valid(const struct mp_image_params *p); bool mp_image_params_equal(const struct mp_image_params *p1, -- cgit v1.2.3