summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-13 12:43:00 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-13 12:43:00 +0000
commit7536263044f41dc55dca7b2aa21bf02780b41f5a (patch)
tree57a10382b74c7f61028bae796cac1d55977fdb50
parent97de0a3c69774b3e696055f87473f7ade422b8ae (diff)
isoff: GST_EXPORT -> GST_ISOFF_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/isoff/gstisoff.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/gst-libs/gst/isoff/gstisoff.h b/gst-libs/gst/isoff/gstisoff.h
index 174dc7a10..437859b2e 100644
--- a/gst-libs/gst/isoff/gstisoff.h
+++ b/gst-libs/gst/isoff/gstisoff.h
@@ -30,6 +30,10 @@
G_BEGIN_DECLS
+#ifndef GST_ISOFF_API
+#define GST_ISOFF_API GST_EXPORT
+#endif
+
typedef enum {
GST_ISOFF_PARSER_OK,
GST_ISOFF_PARSER_DONE,
@@ -37,7 +41,7 @@ typedef enum {
GST_ISOFF_PARSER_ERROR
} GstIsoffParserResult;
-GST_EXPORT
+GST_ISOFF_API
gboolean gst_isoff_parse_box_header (GstByteReader * reader, guint32 * type, guint8 extended_type[16], guint * header_size, guint64 * size);
#define GST_ISOFF_FOURCC_UUID GST_MAKE_FOURCC('u','u','i','d')
@@ -182,10 +186,10 @@ typedef struct _GstMoofBox
GArray *traf;
} GstMoofBox;
-GST_EXPORT
+GST_ISOFF_API
GstMoofBox * gst_isoff_moof_box_parse (GstByteReader *reader);
-GST_EXPORT
+GST_ISOFF_API
void gst_isoff_moof_box_free (GstMoofBox *moof);
typedef struct _GstTkhdBox
@@ -220,10 +224,10 @@ typedef struct _GstMoovBox
GArray *trak;
} GstMoovBox;
-GST_EXPORT
+GST_ISOFF_API
GstMoovBox * gst_isoff_moov_box_parse (GstByteReader *reader);
-GST_EXPORT
+GST_ISOFF_API
void gst_isoff_moov_box_free (GstMoovBox *moov);
typedef struct _GstSidxBoxEntry
@@ -274,16 +278,16 @@ typedef struct _GstSidxParser
GstSidxBox sidx;
} GstSidxParser;
-GST_EXPORT
+GST_ISOFF_API
void gst_isoff_sidx_parser_init (GstSidxParser * parser);
-GST_EXPORT
+GST_ISOFF_API
void gst_isoff_sidx_parser_clear (GstSidxParser * parser);
-GST_EXPORT
+GST_ISOFF_API
GstIsoffParserResult gst_isoff_sidx_parser_parse (GstSidxParser * parser, GstByteReader * reader, guint * consumed);
-GST_EXPORT
+GST_ISOFF_API
GstIsoffParserResult gst_isoff_sidx_parser_add_buffer (GstSidxParser * parser, GstBuffer * buf, guint * consumed);
G_END_DECLS