diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-02-12 14:15:52 +0100 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-06-17 13:51:21 +0200 |
commit | 4208ae62034001aa138b18b32d6492a2d8b750e3 (patch) | |
tree | 2f4c1b44b902e4e20facb63654cc48de73d7d4f5 /ext/wayland | |
parent | e600a323b72898a33f5b06c76ae4c4909eac1910 (diff) | |
download | gstreamer-plugins-bad-4208ae62034001aa138b18b32d6492a2d8b750e3.tar.gz |
waylandsink: remove unused variables
Diffstat (limited to 'ext/wayland')
-rw-r--r-- | ext/wayland/gstwaylandsink.c | 3 | ||||
-rw-r--r-- | ext/wayland/gstwaylandsink.h | 1 | ||||
-rw-r--r-- | ext/wayland/waylandpool.c | 2 | ||||
-rw-r--r-- | ext/wayland/waylandpool.h | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 50c3d5258..b3c0d4b8a 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -227,9 +227,6 @@ destroy_window (struct window *window) if (window->callback) wl_callback_destroy (window->callback); - if (window->buffer) - wl_buffer_destroy (window->buffer); - if (window->shell_surface) wl_shell_surface_destroy (window->shell_surface); diff --git a/ext/wayland/gstwaylandsink.h b/ext/wayland/gstwaylandsink.h index 617e51f5e..133762fd6 100644 --- a/ext/wayland/gstwaylandsink.h +++ b/ext/wayland/gstwaylandsink.h @@ -64,7 +64,6 @@ struct window int width, height; struct wl_surface *surface; struct wl_shell_surface *shell_surface; - struct wl_buffer *buffer; struct wl_callback *callback; guint redraw_pending :1; diff --git a/ext/wayland/waylandpool.c b/ext/wayland/waylandpool.c index 9ab993cc5..659440186 100644 --- a/ext/wayland/waylandpool.c +++ b/ext/wayland/waylandpool.c @@ -102,8 +102,6 @@ wayland_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) /*Fixme: Enable metadata checking handling based on the config of pool */ - wpool->caps = gst_caps_ref (caps); - wpool->info = info; wpool->width = info.width; wpool->height = info.height; diff --git a/ext/wayland/waylandpool.h b/ext/wayland/waylandpool.h index 8657e14a1..269f59bef 100644 --- a/ext/wayland/waylandpool.h +++ b/ext/wayland/waylandpool.h @@ -62,8 +62,6 @@ struct _GstWaylandBufferPool GstWaylandSink *sink; /*Fixme: keep all these in GstWaylandBufferPoolPrivate*/ - GstCaps *caps; - GstVideoInfo info; guint width; guint height; }; |