v4l2: remove experimental markers

This commit is contained in:
Wim Taymans 2011-07-15 11:18:03 +02:00
parent ef18a3c09b
commit 0f16daed15

View file

@ -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)) {