From 4208ae62034001aa138b18b32d6492a2d8b750e3 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 12 Feb 2014 14:15:52 +0100 Subject: [PATCH] waylandsink: remove unused variables --- ext/wayland/gstwaylandsink.c | 3 --- ext/wayland/gstwaylandsink.h | 1 - ext/wayland/waylandpool.c | 2 -- ext/wayland/waylandpool.h | 2 -- 4 files changed, 8 deletions(-) diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 50c3d52583..b3c0d4b8aa 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 617e51f5e0..133762fd68 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 9ab993cc54..6594401869 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 8657e14a1e..269f59bef6 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; };