v4l2: remove experimental markers
This commit is contained in:
parent
ef18a3c09b
commit
0f16daed15
@ -46,10 +46,7 @@
|
|||||||
#include "gstv4l2colorbalance.h"
|
#include "gstv4l2colorbalance.h"
|
||||||
|
|
||||||
#include "gstv4l2src.h"
|
#include "gstv4l2src.h"
|
||||||
|
|
||||||
#ifdef HAVE_EXPERIMENTAL
|
|
||||||
#include "gstv4l2sink.h"
|
#include "gstv4l2sink.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gst/gst-i18n-plugin.h"
|
#include "gst/gst-i18n-plugin.h"
|
||||||
|
|
||||||
@ -468,11 +465,9 @@ gst_v4l2_open (GstV4l2Object * v4l2object)
|
|||||||
!(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_CAPTURE))
|
!(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_CAPTURE))
|
||||||
goto not_capture;
|
goto not_capture;
|
||||||
|
|
||||||
#ifdef HAVE_EXPERIMENTAL
|
|
||||||
if (GST_IS_V4L2SINK (v4l2object->element) &&
|
if (GST_IS_V4L2SINK (v4l2object->element) &&
|
||||||
!(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_OUTPUT))
|
!(v4l2object->vcap.capabilities & V4L2_CAP_VIDEO_OUTPUT))
|
||||||
goto not_output;
|
goto not_output;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* create enumerations, posts errors. */
|
/* create enumerations, posts errors. */
|
||||||
if (!gst_v4l2_fill_lists (v4l2object))
|
if (!gst_v4l2_fill_lists (v4l2object))
|
||||||
@ -518,7 +513,6 @@ not_capture:
|
|||||||
("Capabilities: 0x%x", v4l2object->vcap.capabilities));
|
("Capabilities: 0x%x", v4l2object->vcap.capabilities));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_EXPERIMENTAL
|
|
||||||
not_output:
|
not_output:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (v4l2object->element, RESOURCE, NOT_FOUND,
|
GST_ELEMENT_ERROR (v4l2object->element, RESOURCE, NOT_FOUND,
|
||||||
@ -527,7 +521,6 @@ not_output:
|
|||||||
("Capabilities: 0x%x", v4l2object->vcap.capabilities));
|
("Capabilities: 0x%x", v4l2object->vcap.capabilities));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
error:
|
error:
|
||||||
{
|
{
|
||||||
if (GST_V4L2_IS_OPEN (v4l2object)) {
|
if (GST_V4L2_IS_OPEN (v4l2object)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user