diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-27 08:17:58 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-27 23:06:25 +0530 |
commit | e3c1a545ba05346cdc003786208447f79bb16f15 (patch) | |
tree | aa777825a74dfbcf588c9dfcf7ba7db563dc0baf /gst-libs/gst/gl/gstglbuffer.h | |
parent | 6f707381c397163d743681efec5e93b85e382c48 (diff) |
gstgl: Add GST_EXPORT to all symbols used on Windows
This is a requirement for those symbols to be exported in gstgl-1.0.dll
when building with the MSVC compiler
Diffstat (limited to 'gst-libs/gst/gl/gstglbuffer.h')
-rw-r--r-- | gst-libs/gst/gl/gstglbuffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglbuffer.h b/gst-libs/gst/gl/gstglbuffer.h index e481536e9..c6ef6a5a8 100644 --- a/gst-libs/gst/gl/gstglbuffer.h +++ b/gst-libs/gst/gl/gstglbuffer.h @@ -30,6 +30,7 @@ G_BEGIN_DECLS #define GST_TYPE_GL_BUFFER_ALLOCATOR (gst_gl_buffer_allocator_get_type()) +GST_EXPORT GType gst_gl_buffer_allocator_get_type(void); #define GST_IS_GL_BUFFER_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GL_ALLOCATOR)) @@ -79,6 +80,7 @@ struct _GstGLBufferAllocationParams gpointer _padding[GST_PADDING]; }; +GST_EXPORT GstGLBufferAllocationParams * gst_gl_buffer_allocation_params_new (GstGLContext * context, gsize alloc_size, GstAllocationParams * alloc_params, @@ -120,9 +122,12 @@ struct _GstGLBufferAllocatorClass */ #define GST_GL_BUFFER_ALLOCATOR_NAME "GLBuffer" +GST_EXPORT void gst_gl_buffer_init_once (void); +GST_EXPORT gboolean gst_is_gl_buffer (GstMemory * mem); +GST_EXPORT GstGLBuffer * gst_gl_buffer_alloc (GstGLContext * context, guint gl_target, guint gl_usage, |