v4l2videodec: Install PROP_CAPTURE_IO_MODE with right ID
This commit is contained in:
parent
527df8b888
commit
cf788c9ec7
@ -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)
|
|||||||
*
|
*
|
||||||
* 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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user