diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 59314d0e50..8299e97e12 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -654,13 +654,13 @@ typedef struct } ColorimetryInfo; #define MAKE_COLORIMETRY(n,r,m,t,p) { GST_VIDEO_COLORIMETRY_ ##n, \ - { GST_VIDEO_COLOR_RANGE_ ##r, GST_VIDEO_COLOR_MATRIX_ ##m, \ + { GST_VIDEO_COLOR_RANGE ##r, GST_VIDEO_COLOR_MATRIX_ ##m, \ GST_VIDEO_TRANSFER_ ##t, GST_VIDEO_COLOR_PRIMARIES_ ##p } } static const ColorimetryInfo colorimetry[] = { - MAKE_COLORIMETRY (BT601, 16 _235, BT601, BT709, BT470M), - MAKE_COLORIMETRY (BT709, 16 _235, BT709, BT709, BT709), - MAKE_COLORIMETRY (SMPTE240M, 16 _235, SMPTE240M, SMPTE240M, SMPTE240M), + MAKE_COLORIMETRY (BT601, _16_235, BT601, BT709, BT470M), + MAKE_COLORIMETRY (BT709, _16_235, BT709, BT709, BT709), + MAKE_COLORIMETRY (SMPTE240M, _16_235, SMPTE240M, SMPTE240M, SMPTE240M), {NULL,} };