mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
v4l2videoenc: fold property set/get PROP_OUTPUT_IO_MODE case into default
https://bugzilla.gnome.org/show_bug.cgi?id=791841
This commit is contained in:
parent
189822350b
commit
5c0cf56193
1 changed files with 0 additions and 8 deletions
|
@ -64,10 +64,6 @@ gst_v4l2_video_enc_set_property (GObject * object,
|
|||
GstV4l2VideoEnc *self = GST_V4L2_VIDEO_ENC (object);
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_OUTPUT_IO_MODE:
|
||||
gst_v4l2_object_set_property_helper (self->v4l2output,
|
||||
prop_id, value, pspec);
|
||||
break;
|
||||
case PROP_CAPTURE_IO_MODE:
|
||||
gst_v4l2_object_set_property_helper (self->v4l2capture,
|
||||
prop_id, value, pspec);
|
||||
|
@ -90,10 +86,6 @@ gst_v4l2_video_enc_get_property (GObject * object,
|
|||
GstV4l2VideoEnc *self = GST_V4L2_VIDEO_ENC (object);
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_OUTPUT_IO_MODE:
|
||||
gst_v4l2_object_get_property_helper (self->v4l2output,
|
||||
prop_id, value, pspec);
|
||||
break;
|
||||
case PROP_CAPTURE_IO_MODE:
|
||||
gst_v4l2_object_get_property_helper (self->v4l2capture,
|
||||
prop_id, value, pspec);
|
||||
|
|
Loading…
Reference in a new issue