diff options
author | wm4 <wm4@nowhere> | 2014-11-12 19:30:34 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-12 19:30:59 +0100 |
commit | e9792326e396f4575941cb381c8bad9c9221e50a (patch) | |
tree | 94741b2d200d028b4450f31c4752fdb4e5cb9d21 /video/csputils.h | |
parent | 41365313433875b0ac2f1fa0e6d14ffa4f5e4e8d (diff) | |
download | mpv-e9792326e396f4575941cb381c8bad9c9221e50a.tar.bz2 mpv-e9792326e396f4575941cb381c8bad9c9221e50a.tar.xz |
mp_image: slightly better image params verbose info
Diffstat (limited to 'video/csputils.h')
-rw-r--r-- | video/csputils.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |