summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-05 12:06:27 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-05 12:06:27 +0200
commit2b6130bad922e20a8fc2522c17fc6657005e2ef2 (patch)
tree7a9b9caef6586b5882cb1f4d49685b1fca43a1f4
parentb5409e6b78a9786a5edf9126350095d36f5c0973 (diff)
wayland: cosmetics (remove tabs).
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h2
-rw-r--r--gst-libs/gst/vaapi/gstvaapiwindow_wayland.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h b/gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h
index b98303e2..429de368 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h
@@ -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) \
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
index ac170ca3..8e04f2d7 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
@@ -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);