riff: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-05-16 00:57:36 +01:00
parent 1b6494a644
commit a1ec342b77
2 changed files with 20 additions and 0 deletions

View 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

View 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