adaptivedemux: GST_EXPORT -> GST_ADAPTIVE_DEMUX_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.
diff --git a/gst-libs/gst/adaptivedemux/Makefile.am b/gst-libs/gst/adaptivedemux/Makefile.am
index 74d7c42..2af0517 100644
--- a/gst-libs/gst/adaptivedemux/Makefile.am
+++ b/gst-libs/gst/adaptivedemux/Makefile.am
@@ -8,7 +8,7 @@
 
 libgstadaptivedemux_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/adaptivedemux
 
-noinst_HEADERS = gstadaptivedemux.h
+noinst_HEADERS = gstadaptivedemux.h adaptive-demux-prelude.h
 
 libgstadaptivedemux_@GST_API_VERSION@_la_CFLAGS = \
 	$(GST_PLUGINS_BAD_CFLAGS) \
diff --git a/gst-libs/gst/adaptivedemux/adaptive-demux-prelude.h b/gst-libs/gst/adaptivedemux/adaptive-demux-prelude.h
new file mode 100644
index 0000000..402a78f
--- /dev/null
+++ b/gst-libs/gst/adaptivedemux/adaptive-demux-prelude.h
@@ -0,0 +1,31 @@
+/* GStreamer AdaptiveDemux Library
+ * Copyright (C) 2018 GStreamer developers
+ *
+ * adaptive-demux-prelude.h: prelude include header for gst-adaptivedemux library
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_ADAPTIVE_DEMUX_PRELUDE_H__
+#define __GST_ADAPTIVE_DEMUX_PRELUDE_H__
+
+#include <gst/gst.h>
+
+#ifndef GST_ADAPTIVE_DEMUX_API
+#define GST_ADAPTIVE_DEMUX_API GST_EXPORT
+#endif
+
+#endif /* __GST_ADAPTIVE_DEMUX_PRELUDE_H__ */
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.h b/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
index 52e029e..c1a7f6f 100644
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.h
@@ -25,6 +25,7 @@
 #include <gst/gst.h>
 #include <gst/base/gstadapter.h>
 #include <gst/uridownloader/gsturidownloader.h>
+#include <gst/adaptivedemux/adaptive-demux-prelude.h>
 
 G_BEGIN_DECLS
 
@@ -483,49 +484,49 @@
   gboolean (*requires_periodical_playlist_update) (GstAdaptiveDemux * demux);
 };
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GType    gst_adaptive_demux_get_type (void);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 void     gst_adaptive_demux_set_stream_struct_size (GstAdaptiveDemux * demux,
                                                     gsize struct_size);
 
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GstAdaptiveDemuxStream *gst_adaptive_demux_stream_new (GstAdaptiveDemux * demux,
                                                        GstPad * pad);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GstAdaptiveDemuxStream *gst_adaptive_demux_find_stream_for_pad (GstAdaptiveDemux * demux,
                                                                 GstPad * pad);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 void gst_adaptive_demux_stream_set_caps (GstAdaptiveDemuxStream * stream,
                                          GstCaps * caps);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 void gst_adaptive_demux_stream_set_tags (GstAdaptiveDemuxStream * stream,
                                          GstTagList * tags);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 void gst_adaptive_demux_stream_fragment_clear (GstAdaptiveDemuxStreamFragment * f);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GstFlowReturn gst_adaptive_demux_stream_push_buffer (GstAdaptiveDemuxStream * stream, GstBuffer * buffer);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GstFlowReturn
 gst_adaptive_demux_stream_advance_fragment (GstAdaptiveDemux * demux,
     GstAdaptiveDemuxStream * stream, GstClockTime duration);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 void gst_adaptive_demux_stream_queue_event (GstAdaptiveDemuxStream * stream,
     GstEvent * event);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GstClockTime gst_adaptive_demux_get_monotonic_time (GstAdaptiveDemux * demux);
 
-GST_EXPORT
+GST_ADAPTIVE_DEMUX_API
 GDateTime *gst_adaptive_demux_get_client_now_utc (GstAdaptiveDemux * demux);
 
 G_END_DECLS