summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/ximage/ximagesink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index 3ecd8055..af50cc0f 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -293,7 +293,6 @@ gst_ximage_buffer_get_type (void)
/* X11 stuff */
-#ifdef HAVE_XSHM /* Check that XShm calls actually work */
static gboolean error_caught = FALSE;
static int
@@ -307,6 +306,8 @@ gst_ximagesink_handle_xerror (Display * display, XErrorEvent * xevent)
return 0;
}
+#ifdef HAVE_XSHM /* Check that XShm calls actually work */
+
static gboolean
gst_ximagesink_check_xshm_calls (GstXImageSink * ximagesink,
GstXContext * xcontext)