sys/xvimage/xvimagesink.c: Fix build of xvimagesink if we don't have XShm, e.g. on...
authorBranko Čibej <brane@xbc.nu>
Mon, 11 Feb 2008 06:47:50 +0000 (06:47 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 11 Feb 2008 06:47:50 +0000 (06:47 +0000)
Original commit message from CVS:
Patch by: Branko Čibej <brane at xbc dot nu>
* sys/xvimage/xvimagesink.c:
Fix build of xvimagesink if we don't have XShm, e.g. on Mac OS X.
Fixes bug #515654.

ChangeLog
sys/xvimage/xvimagesink.c

index fb2a9f0..1581614 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       Patch by: Branko Čibej <brane at xbc dot nu>
+
+       * sys/xvimage/xvimagesink.c:
+       Fix build of xvimagesink if we don't have XShm, e.g. on Mac OS X.
+       Fixes bug #515654.
+
 2008-02-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
 
        * gst/playback/gstplaybasebin.c:
index bfa24f9..c9b63b5 100644 (file)
@@ -395,7 +395,6 @@ gst_xvimage_buffer_get_type (void)
 
 /* X11 stuff */
 
-#ifdef HAVE_XSHM
 static gboolean error_caught = FALSE;
 
 static int
@@ -409,6 +408,7 @@ gst_xvimagesink_handle_xerror (Display * display, XErrorEvent * xevent)
   return 0;
 }
 
+#ifdef HAVE_XSHM
 /* This function checks that it is actually really possible to create an image
    using XShm */
 static gboolean