cdata.set('TIZEN_FEATURE_PULSE_MODIFICATION', true)
cdata.set('TIZEN_FEATURE_V4L2_SKIP_ADD_COLORSPACE', true)
cdata.set('TIZEN_FEATURE_GST_MUX_ENHANCEMENT', true)
+cdata.set('TIZEN_FEATURE_V4L2_DISABLE_COLORIMETRY', true)
gio_dep = dependency('gio-2.0')
gst_structure_remove_field (s, "interlace-mode");
}
+#ifndef TIZEN_FEATURE_V4L2_DISABLE_COLORIMETRY
if (gst_v4l2_object_get_colorspace (v4l2object, &format, &info.colorimetry)) {
if (gst_structure_has_field (s, "colorimetry")) {
if (!gst_v4l2_video_colorimetry_matches (&info.colorimetry, caps))
goto invalid_colorimetry;
}
} else {
+#endif
/* The driver (or libv4l2) is miss-behaving, just ignore colorimetry from
* the TRY_FMT */
disable_colorimetry = TRUE;
if (gst_structure_has_field (s, "colorimetry"))
gst_structure_remove_field (s, "colorimetry");
+#ifndef TIZEN_FEATURE_V4L2_DISABLE_COLORIMETRY
}
+#endif
/* In case we have skipped the try_fmt probes, we'll need to set the
* interlace-mode and colorimetry back into the caps. */