summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2017-07-24 18:27:05 (GMT)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2017-07-24 18:27:05 (GMT)
commit33f508d508c5fa9631a93de8b18a300eab34bfd0 (patch)
tree892a3ef7a1aa10c55d3bc792b396dcd1bb75fc5b
parent31d8a1d929fecd7ceaa7575be5921f9148ed8afb (diff)
downloadgst-plugins-good-33f508d508c5fa9631a93de8b18a300eab34bfd0.tar.gz
gst-plugins-good-33f508d508c5fa9631a93de8b18a300eab34bfd0.tar.xz
v4l2object: Removed unused members
-rw-r--r--sys/v4l2/gstv4l2object.c2
-rw-r--r--sys/v4l2/gstv4l2object.h14
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index adf2fa3..c6886b1 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 b39687d..ed38dbf 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 <gstv4l2bufferpool.h>
@@ -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;