ximagesink: Fix coompiler error without HAVE_XSHM

https://bugzilla.gnome.org/show_bug.cgi?id=697628
This commit is contained in:
Alexander Schrab 2013-04-09 12:27:48 +02:00 committed by Sebastian Dröge
parent 3de4200f61
commit c32756a9be

View file

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