Commit cf788c9e authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

v4l2videodec: Install PROP_CAPTURE_IO_MODE with right ID

parent 527df8b8
...@@ -74,8 +74,8 @@ gst_v4l2_video_dec_set_property (GObject * object, ...@@ -74,8 +74,8 @@ gst_v4l2_video_dec_set_property (GObject * object,
pspec); pspec);
break; break;
case PROP_CAPTURE_IO_MODE: case PROP_CAPTURE_IO_MODE:
gst_v4l2_object_set_property_helper (self->v4l2capture, prop_id, value, gst_v4l2_object_set_property_helper (self->v4l2capture, PROP_IO_MODE,
pspec); value, pspec);
break; break;
case PROP_DEVICE: case PROP_DEVICE:
...@@ -811,7 +811,7 @@ gst_v4l2_video_dec_class_init (GstV4l2VideoDecClass * klass) ...@@ -811,7 +811,7 @@ gst_v4l2_video_dec_class_init (GstV4l2VideoDecClass * klass)
* *
* Capture IO Mode * 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", g_param_spec_enum ("capture-io-mode", "Capture IO mode",
"Capture I/O mode", "Capture I/O mode",
GST_TYPE_V4L2_IO_MODE, GST_V4L2_IO_AUTO, GST_TYPE_V4L2_IO_MODE, GST_V4L2_IO_AUTO,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment