v4l2videoenc: fix capture-io-mode property get

https://bugzilla.gnome.org/show_bug.cgi?id=791841
This commit is contained in:
Peter Seiderer 2018-01-11 10:44:18 +01:00 committed by Nicolas Dufresne
parent 21b01acef1
commit 189822350b

View file

@ -95,8 +95,8 @@ gst_v4l2_video_enc_get_property (GObject * object,
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 */