mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
clutter: Fix compilation error in GL examples
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; ^
This commit is contained in:
parent
3088063ebd
commit
0b5387b96c
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/video/gstvideometa.h>
|
||||
#include <gst/gl/gstglmemory.h>
|
||||
#include <gst/gl/gl.h>
|
||||
|
||||
/* This example shows how to use textures that come from a
|
||||
* gst-plugins-gl pipeline, into the clutter framework
|
||||
|
|
Loading…
Reference in a new issue