summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-05-10 11:48:46 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-05-10 11:48:46 +0200
commitdb3d5f92d6f091ca0b9019abf990019a1210a7d6 (patch)
tree72261d1ab9fad0ac1b24942cc9bc1131eb4c19c3 /gst-libs
parent0d7967e25ee6a790ae7250a3a1401a595884690d (diff)
downloadgstreamer-plugins-bad-db3d5f92d6f091ca0b9019abf990019a1210a7d6.tar.gz
egl: Allow being used in C++ code
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/egl/egl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/egl/egl.h b/gst-libs/gst/egl/egl.h
index 38670d598..fa6464ee4 100644
--- a/gst-libs/gst/egl/egl.h
+++ b/gst-libs/gst/egl/egl.h
@@ -27,6 +27,8 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
+G_BEGIN_DECLS
+
#define GST_EGL_IMAGE_MEMORY_TYPE "EGLImage"
#define GST_CAPS_FEATURE_MEMORY_EGL_IMAGE "memory:EGLImage"
@@ -68,4 +70,5 @@ GstEGLDisplay *gst_egl_display_ref (GstEGLDisplay * display);
void gst_egl_display_unref (GstEGLDisplay * display);
EGLDisplay gst_egl_display_get (GstEGLDisplay * display);
+G_END_DECLS
#endif /* __GST_EGL_H__ */