summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-13 12:36:26 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-13 12:36:26 +0000
commit42491f0d113b38287e4546afbe3a58c78572ab31 (patch)
treeaf2b0f9f9e32e949ba8a47281746ee8f2fc58786
parenta05006944a542c84b07fb8219763b4b4c2f26ab8 (diff)
insertbin: GST_EXPORT -> GST_INSERT_BIN_API
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
-rw-r--r--gst-libs/gst/insertbin/gstinsertbin.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/gst-libs/gst/insertbin/gstinsertbin.h b/gst-libs/gst/insertbin/gstinsertbin.h
index 04d254ffc..d5539a405 100644
--- a/gst-libs/gst/insertbin/gstinsertbin.h
+++ b/gst-libs/gst/insertbin/gstinsertbin.h
@@ -33,6 +33,10 @@
#include <gst/gst.h>
+#ifndef GST_INSERT_BIN_API
+#define GST_INSERT_BIN_API GST_EXPORT
+#endif
+
G_BEGIN_DECLS
#define GST_TYPE_INSERT_BIN (gst_insert_bin_get_type())
#define GST_INSERT_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_INSERT_BIN,GstInsertBin))
@@ -84,31 +88,31 @@ struct _GstInsertBinClass
GstBinClass parent_class;
};
-GST_EXPORT
+GST_INSERT_BIN_API
GType gst_insert_bin_get_type (void);
-GST_EXPORT
+GST_INSERT_BIN_API
GstElement *gst_insert_bin_new (const gchar * name);
-GST_EXPORT
+GST_INSERT_BIN_API
void gst_insert_bin_prepend (GstInsertBin * self, GstElement * element,
GstInsertBinCallback callback, gpointer user_data);
-GST_EXPORT
+GST_INSERT_BIN_API
void gst_insert_bin_append (GstInsertBin * self, GstElement * element,
GstInsertBinCallback callback, gpointer user_data);
-GST_EXPORT
+GST_INSERT_BIN_API
void gst_insert_bin_insert_before (GstInsertBin * self,
GstElement * element, GstElement * sibling,
GstInsertBinCallback callback, gpointer user_data);
-GST_EXPORT
+GST_INSERT_BIN_API
void gst_insert_bin_insert_after (GstInsertBin * self,
GstElement * element, GstElement * sibling,
GstInsertBinCallback callback, gpointer user_data);
-GST_EXPORT
+GST_INSERT_BIN_API
void gst_insert_bin_remove (GstInsertBin * self, GstElement * element,
GstInsertBinCallback callback, gpointer user_data);