From e9792326e396f4575941cb381c8bad9c9221e50a Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 12 Nov 2014 19:30:34 +0100 Subject: mp_image: slightly better image params verbose info --- video/csputils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/csputils.h') diff --git a/video/csputils.h b/video/csputils.h index a494a06b28..33bac87f64 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -96,6 +96,8 @@ extern const char *const mp_stereo3d_names[MP_STEREO3D_COUNT]; #define MP_STEREO3D_NAME(x) \ ((x) >= 0 && (x) < MP_STEREO3D_COUNT ? (char *)mp_stereo3d_names[(x)] : NULL) +#define MP_STEREO3D_NAME_DEF(x, def) \ + (MP_STEREO3D_NAME(x) ? MP_STEREO3D_NAME(x) : (def)) struct mp_csp_details { enum mp_csp format; -- cgit v1.2.3