mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
waylandsink: remove unused variables
This commit is contained in:
parent
e600a323b7
commit
4208ae6203
4 changed files with 0 additions and 8 deletions
|
@ -227,9 +227,6 @@ destroy_window (struct window *window)
|
||||||
if (window->callback)
|
if (window->callback)
|
||||||
wl_callback_destroy (window->callback);
|
wl_callback_destroy (window->callback);
|
||||||
|
|
||||||
if (window->buffer)
|
|
||||||
wl_buffer_destroy (window->buffer);
|
|
||||||
|
|
||||||
if (window->shell_surface)
|
if (window->shell_surface)
|
||||||
wl_shell_surface_destroy (window->shell_surface);
|
wl_shell_surface_destroy (window->shell_surface);
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,6 @@ struct window
|
||||||
int width, height;
|
int width, height;
|
||||||
struct wl_surface *surface;
|
struct wl_surface *surface;
|
||||||
struct wl_shell_surface *shell_surface;
|
struct wl_shell_surface *shell_surface;
|
||||||
struct wl_buffer *buffer;
|
|
||||||
struct wl_callback *callback;
|
struct wl_callback *callback;
|
||||||
guint redraw_pending :1;
|
guint redraw_pending :1;
|
||||||
|
|
||||||
|
|
|
@ -102,8 +102,6 @@ wayland_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
|
||||||
|
|
||||||
/*Fixme: Enable metadata checking handling based on the config of pool */
|
/*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->width = info.width;
|
||||||
wpool->height = info.height;
|
wpool->height = info.height;
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,6 @@ struct _GstWaylandBufferPool
|
||||||
GstWaylandSink *sink;
|
GstWaylandSink *sink;
|
||||||
|
|
||||||
/*Fixme: keep all these in GstWaylandBufferPoolPrivate*/
|
/*Fixme: keep all these in GstWaylandBufferPoolPrivate*/
|
||||||
GstCaps *caps;
|
|
||||||
GstVideoInfo info;
|
|
||||||
guint width;
|
guint width;
|
||||||
guint height;
|
guint height;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue