Original commit message from CVS:
* sys/ximage/gstximagesrc.c: (gst_ximage_src_stop):
Fix build for systems that don't have XDamage.
+2008-10-08 Edward Hervey <edward.hervey@collabora.co.uk>
+
+ * sys/ximage/gstximagesrc.c: (gst_ximage_src_stop):
+ Fix build for systems that don't have XDamage.
+
2008-10-07 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/examples/rtp/client-H263p.sdp:
-Subproject commit ea93f2ed580bcc19322e4c07f677eda980c821eb
+Subproject commit 46eefd2f8474ee748864c59635be87b5a29317d1
{
GstXImageSrc *src = GST_XIMAGE_SRC (basesrc);
+#ifdef HAVE_XDAMAGE
if (src->last_ximage)
gst_buffer_unref (GST_BUFFER_CAST (src->last_ximage));
src->last_ximage = NULL;
+#endif
gst_ximage_src_clear_bufpool (src);
+#ifdef HAVE_XFIXES
if (src->cursor_image)
XFree (src->cursor_image);
src->cursor_image = NULL;
+#endif
if (src->xcontext) {
g_mutex_lock (src->x_lock);