mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
wayland: cosmetics (remove tabs).
This commit is contained in:
parent
0cde1f5289
commit
86b70977f8
2 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@ G_BEGIN_DECLS
|
|||
|
||||
#define GST_VAAPI_DISPLAY_WAYLAND_GET_PRIVATE(obj) \
|
||||
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
|
||||
GST_VAAPI_TYPE_DISPLAY_WAYLAND, \
|
||||
GST_VAAPI_TYPE_DISPLAY_WAYLAND, \
|
||||
GstVaapiDisplayWaylandPrivate))
|
||||
|
||||
#define GST_VAAPI_DISPLAY_WAYLAND_CAST(display) \
|
||||
|
|
|
@ -166,7 +166,7 @@ gst_vaapi_window_wayland_destroy(GstVaapiWindow * window)
|
|||
GST_VAAPI_WINDOW_WAYLAND(window)->priv;
|
||||
|
||||
if (priv->shell_surface) {
|
||||
wl_shell_surface_destroy(priv->shell_surface);
|
||||
wl_shell_surface_destroy(priv->shell_surface);
|
||||
priv->shell_surface = NULL;
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,7 @@ gst_vaapi_window_wayland_destroy(GstVaapiWindow * window)
|
|||
}
|
||||
|
||||
if (priv->buffer) {
|
||||
wl_buffer_destroy(priv->buffer);
|
||||
wl_buffer_destroy(priv->buffer);
|
||||
priv->buffer = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ gst_vaapi_window_wayland_resize(
|
|||
GST_DEBUG("resize window, new size %ux%u", width, height);
|
||||
|
||||
if (priv->opaque_region)
|
||||
wl_region_destroy(priv->opaque_region);
|
||||
wl_region_destroy(priv->opaque_region);
|
||||
priv->opaque_region = wl_compositor_create_region(priv_display->compositor);
|
||||
wl_region_add(priv->opaque_region, 0, 0, width, height);
|
||||
|
||||
|
@ -260,7 +260,7 @@ gst_vaapi_window_wayland_render(
|
|||
|
||||
/* Wait for the previous frame to complete redraw */
|
||||
if (priv->redraw_pending)
|
||||
wl_display_iterate(wl_display, WL_DISPLAY_READABLE);
|
||||
wl_display_iterate(wl_display, WL_DISPLAY_READABLE);
|
||||
|
||||
/* XXX: use VA/VPP for other filters */
|
||||
va_flags = from_GstVaapiSurfaceRenderFlags(flags);
|
||||
|
|
Loading…
Reference in a new issue