From 189822350b68d397a2b062c55749fa18bc71d7ec Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Thu, 11 Jan 2018 10:44:18 +0100 Subject: [PATCH] v4l2videoenc: fix capture-io-mode property get https://bugzilla.gnome.org/show_bug.cgi?id=791841 --- sys/v4l2/gstv4l2videoenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c index 4a1a8afb1a..5f2daaf4a1 100644 --- a/sys/v4l2/gstv4l2videoenc.c +++ b/sys/v4l2/gstv4l2videoenc.c @@ -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 */