uridownloader: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-07-18 12:45:14 +01:00
parent ce8485a585
commit 059cc73487
2 changed files with 22 additions and 1 deletions

View file

@ -65,12 +65,22 @@ struct _GstFragmentClass
GObjectClass parent_class;
};
GST_EXPORT
GType gst_fragment_get_type (void);
GST_EXPORT
GstBuffer * gst_fragment_get_buffer (GstFragment *fragment);
GST_EXPORT
void gst_fragment_set_caps (GstFragment * fragment, GstCaps * caps);
GST_EXPORT
GstCaps * gst_fragment_get_caps (GstFragment * fragment);
GST_EXPORT
gboolean gst_fragment_add_buffer (GstFragment *fragment, GstBuffer *buffer);
GST_EXPORT
GstFragment * gst_fragment_new (void);
G_END_DECLS

View file

@ -58,15 +58,26 @@ struct _GstUriDownloaderClass
gpointer _gst_reserved[GST_PADDING];
};
GST_EXPORT
GType gst_uri_downloader_get_type (void);
GST_EXPORT
GstUriDownloader * gst_uri_downloader_new (void);
GST_EXPORT
void gst_uri_downloader_set_parent (GstUriDownloader * downloader, GstElement * parent);
GST_EXPORT
GstFragment * gst_uri_downloader_fetch_uri (GstUriDownloader * downloader, const gchar * uri, const gchar * referer, gboolean compress, gboolean refresh, gboolean allow_cache, GError ** err);
GST_EXPORT
GstFragment * gst_uri_downloader_fetch_uri_with_range (GstUriDownloader * downloader, const gchar * uri, const gchar * referer, gboolean compress, gboolean refresh, gboolean allow_cache, gint64 range_start, gint64 range_end, GError ** err);
GST_EXPORT
void gst_uri_downloader_reset (GstUriDownloader *downloader);
GST_EXPORT
void gst_uri_downloader_cancel (GstUriDownloader *downloader);
void gst_uri_downloader_free (GstUriDownloader *downloader);
G_END_DECLS
#endif /* __GSTURIDOWNLOADER_H__ */