From f2e43443858b30f316d134b3a8d0069beab151a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Dec 2015 09:38:41 +0100 Subject: [PATCH] clutter: Fix compilation error in GL examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Include gst/gl.h instead of specific headers to prevent such problems also in the future. In file included from ../../../../gst-libs/gst/gl/gl.h:47:0, from ../../../../gst-libs/gst/gl/gstglbasememory.h:137, from ../../../../gst-libs/gst/gl/gstglmemory.h:29, from cluttershare.c:39: ../../../../gst-libs/gst/gl/gstglmemorypbo.h:51:20: error: field ‘mem’ has incomplete type GstGLMemory mem; ^ ../../../../gst-libs/gst/gl/gstglmemorypbo.h:124:24: error: field ‘parent’ has incomplete type GstGLMemoryAllocator parent; ^ ../../../../gst-libs/gst/gl/gstglmemorypbo.h:134:29: error: field ‘parent_class’ has incomplete type GstGLMemoryAllocatorClass parent_class; ^ --- tests/examples/gl/clutter/cluttershare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/gl/clutter/cluttershare.c b/tests/examples/gl/clutter/cluttershare.c index de7cd66..ee4eb7d 100644 --- a/tests/examples/gl/clutter/cluttershare.c +++ b/tests/examples/gl/clutter/cluttershare.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include /* This example shows how to use textures that come from a * gst-plugins-gl pipeline, into the clutter framework -- 2.7.4