summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Schrab <alexas@axis.com>2013-04-09 12:27:48 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-09 20:02:08 +0200
commitc32756a9be0620873ca41769a2ff5fe44993f7a6 (patch)
tree3ab606a976f54009c68aa5bd35c2afe25566bc45 /sys
parent3de4200f61fe54e6762484fc5497ad74842cd772 (diff)
downloadgstreamer-plugins-base-c32756a9be0620873ca41769a2ff5fe44993f7a6.tar.gz
ximagesink: Fix coompiler error without HAVE_XSHM
https://bugzilla.gnome.org/show_bug.cgi?id=697628
Diffstat (limited to 'sys')
-rw-r--r--sys/ximage/ximagepool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c
index f1312bc9a..6cc2cfab5 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;