From cf788c9ec7801d8eadc8bb85417e79c7547bacd2 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 10 Apr 2014 17:49:29 -0400 Subject: [PATCH] v4l2videodec: Install PROP_CAPTURE_IO_MODE with right ID --- sys/v4l2/gstv4l2videodec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c index 866ce6790d..eec30eae65 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c @@ -74,8 +74,8 @@ gst_v4l2_video_dec_set_property (GObject * object, pspec); break; case PROP_CAPTURE_IO_MODE: - gst_v4l2_object_set_property_helper (self->v4l2capture, prop_id, value, - pspec); + gst_v4l2_object_set_property_helper (self->v4l2capture, PROP_IO_MODE, + value, pspec); break; case PROP_DEVICE: @@ -811,7 +811,7 @@ gst_v4l2_video_dec_class_init (GstV4l2VideoDecClass * klass) * * Capture IO Mode */ - g_object_class_install_property (gobject_class, PROP_IO_MODE, + g_object_class_install_property (gobject_class, PROP_CAPTURE_IO_MODE, g_param_spec_enum ("capture-io-mode", "Capture IO mode", "Capture I/O mode", GST_TYPE_V4L2_IO_MODE, GST_V4L2_IO_AUTO,