summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/v4l2/gstv4l2transform.c4
-rw-r--r--sys/v4l2/gstv4l2videodec.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c
index 42aeb1347..f617ac4fd 100644
--- a/sys/v4l2/gstv4l2transform.c
+++ b/sys/v4l2/gstv4l2transform.c
@@ -73,8 +73,8 @@ gst_v4l2_transform_set_property (GObject * object,
pspec);
break;
case PROP_CAPTURE_IO_MODE:
- gst_v4l2_object_set_property_helper (self->v4l2capture, PROP_IO_MODE,
- value, pspec);
+ gst_v4l2_object_set_property_helper (self->v4l2capture, prop_id, value,
+ pspec);
break;
/* By default, only set on output */
diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c
index f06e4f61c..142dbeb5c 100644
--- a/sys/v4l2/gstv4l2videodec.c
+++ b/sys/v4l2/gstv4l2videodec.c
@@ -90,13 +90,13 @@ gst_v4l2_video_dec_get_property (GObject * object,
GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (object);
switch (prop_id) {
- case PROP_IO_MODE:
+ case PROP_OUTPUT_IO_MODE:
gst_v4l2_object_get_property_helper (self->v4l2output, prop_id, value,
pspec);
break;
case PROP_CAPTURE_IO_MODE:
- gst_v4l2_object_get_property_helper (self->v4l2output, PROP_IO_MODE,
- value, pspec);
+ gst_v4l2_object_get_property_helper (self->v4l2capture, prop_id, value,
+ pspec);
break;
/* By default read from output */