diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 3808d8e621..74b2e0adf2 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -46,10 +46,7 @@ #include "gstv4l2colorbalance.h" #include "gstv4l2src.h" - -#ifdef HAVE_EXPERIMENTAL #include "gstv4l2sink.h" -#endif #include "gst/gst-i18n-plugin.h" @@ -468,11 +465,9 @@ gst_v4l2_open (GstV4l2Object * v4l2object) !(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) goto not_capture; -#ifdef HAVE_EXPERIMENTAL if (GST_IS_V4L2SINK (v4l2object->element) && !(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_OUTPUT)) goto not_output; -#endif /* create enumerations, posts errors. */ if (!gst_v4l2_fill_lists (v4l2object)) @@ -518,7 +513,6 @@ not_capture: ("Capabilities: 0x%x", v4l2object->vcap.capabilities)); goto error; } -#ifdef HAVE_EXPERIMENTAL not_output: { GST_ELEMENT_ERROR (v4l2object->element, RESOURCE, NOT_FOUND, @@ -527,7 +521,6 @@ not_output: ("Capabilities: 0x%x", v4l2object->vcap.capabilities)); goto error; } -#endif error: { if (GST_V4L2_IS_OPEN (v4l2object)) {