sys/xvimage/xvimagesink.c: Fix build of xvimagesink if we don't have XShm, e.g. on Mac OS X.

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.
This commit is contained in:
Branko Čibej 2008-02-11 06:47:50 +00:00 committed by Sebastian Dröge
parent b006ba7afe
commit bb1b1b0e19
2 changed files with 9 additions and 1 deletions

View file

@ -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:

View 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