waylandsink: remove unused variables
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 12 Feb 2014 13:15:52 +0000 (14:15 +0100)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:21 +0000 (13:51 +0200)
ext/wayland/gstwaylandsink.c
ext/wayland/gstwaylandsink.h
ext/wayland/waylandpool.c
ext/wayland/waylandpool.h

index 50c3d52..b3c0d4b 100644 (file)
@@ -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);
 
index 617e51f..133762f 100644 (file)
@@ -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;
 
index 9ab993c..6594401 100644 (file)
@@ -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;
 
index 8657e14..269f59b 100644 (file)
@@ -62,8 +62,6 @@ struct _GstWaylandBufferPool
   GstWaylandSink *sink;
 
   /*Fixme: keep all these in GstWaylandBufferPoolPrivate*/
-  GstCaps *caps;
-  GstVideoInfo info;
   guint width;
   guint height;
 };