From 33f508d508c5fa9631a93de8b18a300eab34bfd0 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Mon, 24 Jul 2017 14:27:05 -0400 Subject: [PATCH] v4l2object: Removed unused members --- sys/v4l2/gstv4l2object.c | 2 -- sys/v4l2/gstv4l2object.h | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index adf2fa39fa..c6886b18d7 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -485,8 +485,6 @@ gst_v4l2_object_new (GstElement * element, v4l2object->channels = NULL; v4l2object->colors = NULL; - v4l2object->xwindow_id = 0; - v4l2object->keep_aspect = TRUE; v4l2object->n_v4l2_planes = 0; diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h index b39687d056..ed38dbf448 100644 --- a/sys/v4l2/gstv4l2object.h +++ b/sys/v4l2/gstv4l2object.h @@ -38,7 +38,6 @@ typedef struct _GstV4l2Object GstV4l2Object; typedef struct _GstV4l2ObjectClassHelper GstV4l2ObjectClassHelper; -typedef struct _GstV4l2Xv GstV4l2Xv; #include @@ -154,9 +153,6 @@ struct _GstV4l2Object { * calculate the minimum latency. */ guint32 min_buffers; - /* This will be set if supported in propose allocation. */ - guint32 min_buffers_for_output; - /* wanted mode */ GstV4l2IOMode req_mode; @@ -168,12 +164,6 @@ struct _GstV4l2Object { /* opened device specific capabilities */ guint32 device_caps; - /* the video device's window properties */ - struct v4l2_window vwin; - - /* some more info about the current input's capabilities */ - struct v4l2_input vinput; - /* lists... */ GSList *formats; /* list of available capture formats */ GstCaps *probed_caps; @@ -191,10 +181,6 @@ struct _GstV4l2Object { gboolean keep_aspect; GValue *par; - /* X-overlay */ - GstV4l2Xv *xv; - gulong xwindow_id; - /* funcs */ GstV4l2GetInOutFunction get_in_out_func; GstV4l2SetInOutFunction set_in_out_func;