From c32756a9be0620873ca41769a2ff5fe44993f7a6 Mon Sep 17 00:00:00 2001 From: Alexander Schrab Date: Tue, 9 Apr 2013 12:27:48 +0200 Subject: [PATCH] ximagesink: Fix coompiler error without HAVE_XSHM https://bugzilla.gnome.org/show_bug.cgi?id=697628 --- sys/ximage/ximagepool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c index f1312bc..6cc2cfa 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -170,7 +170,9 @@ ximage_memory_share (GstXImageMemory * mem, gssize offset, gsize size) mem->parent.offset + offset, size); sub->sink = mem->sink; sub->ximage = mem->ximage; +#ifdef HAVE_XSHM sub->SHMInfo = mem->SHMInfo; +#endif sub->x = mem->x; sub->y = mem->y; sub->width = mem->width; -- 2.7.4