Commit aa759d42 authored by Arun Raghavan's avatar Arun Raghavan

video-color: Fix unknown colorimetry checking

Also drop some deadcode #defines.
parent b9bb240c
......@@ -63,13 +63,10 @@ typedef struct
#define GST_VIDEO_COLORIMETRY_NONAME NULL
#define DEFAULT_YUV_SD 0
#define DEFAULT_YUV_HD 1
#define DEFAULT_RGB 3
#define DEFAULT_YUV_UHD 4
#define DEFAULT_GRAY 5
#define DEFAULT_UNKNOWN 6
#define DEFAULT_UNKNOWN 9
/* NOTE: If you add an entry below, don't forget to update DEFAULT_UNKNOWN
* above */
static const ColorimetryInfo colorimetry[] = {
MAKE_COLORIMETRY (BT601, _16_235, BT601, BT709, SMPTE170M),
MAKE_COLORIMETRY (BT709, _16_235, BT709, BT709, BT709),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment