riff: mark symbols explicitly for export with GST_EXPORT
authorTim-Philipp Müller <tim@centricular.com>
Mon, 15 May 2017 23:57:36 +0000 (00:57 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 May 2017 14:22:42 +0000 (15:22 +0100)
gst-libs/gst/riff/riff-media.h
gst-libs/gst/riff/riff-read.h

index 3ad2fd2..aa9f9d3 100644 (file)
@@ -32,6 +32,7 @@ G_BEGIN_DECLS
  * Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
  */
 
+GST_EXPORT
 GstCaps * gst_riff_create_video_caps (guint32              codec_fcc,
                                       gst_riff_strh      * strh,
                                       gst_riff_strf_vids * strf,
@@ -39,6 +40,7 @@ GstCaps * gst_riff_create_video_caps (guint32              codec_fcc,
                                       GstBuffer          * strd_data,
                                       char              ** codec_name);
 
+GST_EXPORT
 GstCaps * gst_riff_create_audio_caps (guint16              codec_id,
                                       gst_riff_strh      * strh,
                                       gst_riff_strf_auds * strf,
@@ -47,6 +49,7 @@ GstCaps * gst_riff_create_audio_caps (guint16              codec_id,
                                       char              ** codec_name,
                                       gint                 channel_reorder_map[18]);
 
+GST_EXPORT
 GstCaps * gst_riff_create_iavs_caps  (guint32              codec_fcc,
                                       gst_riff_strh      * strh,
                                       gst_riff_strf_iavs * strf,
@@ -57,8 +60,13 @@ GstCaps * gst_riff_create_iavs_caps  (guint32              codec_fcc,
  * Create template caps (includes all known types).
  */
 
+GST_EXPORT
 GstCaps * gst_riff_create_video_template_caps (void);
+
+GST_EXPORT
 GstCaps * gst_riff_create_audio_template_caps (void);
+
+GST_EXPORT
 GstCaps * gst_riff_create_iavs_template_caps  (void);
 
 G_END_DECLS
index 95d606a..f9a8740 100644 (file)
@@ -33,6 +33,7 @@ G_BEGIN_DECLS
  * Operate using pull_range().
  */
 
+GST_EXPORT
 GstFlowReturn gst_riff_read_chunk   (GstElement * element,
                                      GstPad     * pad,
                                      guint64    * offset,
@@ -46,39 +47,50 @@ GstFlowReturn gst_riff_read_chunk   (GstElement * element,
  * by the function.
  */
 
+GST_EXPORT
 gboolean gst_riff_parse_chunk       (GstElement * element,
                                      GstBuffer  * buf,
                                      guint      * offset,
                                      guint32    * fourcc,
                                      GstBuffer ** chunk_data);
 
+GST_EXPORT
 gboolean gst_riff_parse_file_header (GstElement * element,
                                      GstBuffer  * buf,
                                      guint32    * doctype);
 
+GST_EXPORT
 gboolean gst_riff_parse_strh        (GstElement     * element,
                                      GstBuffer      * buf,
                                      gst_riff_strh ** strh);
 
+GST_EXPORT
 gboolean gst_riff_parse_strf_vids   (GstElement          * element,
                                      GstBuffer           * buf,
                                      gst_riff_strf_vids ** strf,
                                      GstBuffer          ** data);
+
+GST_EXPORT
 gboolean gst_riff_parse_strf_auds   (GstElement          * element,
                                      GstBuffer           * buf,
                                      gst_riff_strf_auds ** strf,
                                      GstBuffer          ** data);
+
+GST_EXPORT
 gboolean gst_riff_parse_strf_iavs   (GstElement          * element,
                                      GstBuffer           * buf,
                                      gst_riff_strf_iavs ** strf,
                                      GstBuffer          ** data);
 
+GST_EXPORT
 void gst_riff_parse_info            (GstElement  * element,
                                      GstBuffer   * buf,
                                      GstTagList ** taglist);
 /*
  * Init.
  */
+
+GST_EXPORT
 void gst_riff_init                  (void);
 
 G_END_DECLS