mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
sys/ximage/ximagesink.c: Fix build if XShm is not available (#432362).
Original commit message from CVS: Patch by: Christian Kirbach <Christian dot Kirbach at googlemail com> * sys/ximage/ximagesink.c: Fix build if XShm is not available (#432362).
This commit is contained in:
parent
84c824b952
commit
80b16b3a4e
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-04-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Christian Kirbach <Christian dot Kirbach at googlemail com>
|
||||
|
||||
* sys/ximage/ximagesink.c:
|
||||
Fix build if XShm is not available (#432362).
|
||||
|
||||
2007-04-24 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue