aggregator: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-07-18 00:30:51 +01:00
parent 859f96615f
commit 670c7433a6

View file

@ -96,15 +96,23 @@ struct _GstAggregatorPadClass
gpointer _gst_reserved[GST_PADDING_LARGE]; gpointer _gst_reserved[GST_PADDING_LARGE];
}; };
GST_EXPORT
GType gst_aggregator_pad_get_type (void); GType gst_aggregator_pad_get_type (void);
/**************************** /****************************
* GstAggregatorPad methods * * GstAggregatorPad methods *
***************************/ ***************************/
GST_EXPORT
GstBuffer * gst_aggregator_pad_steal_buffer (GstAggregatorPad * pad); GstBuffer * gst_aggregator_pad_steal_buffer (GstAggregatorPad * pad);
GST_EXPORT
GstBuffer * gst_aggregator_pad_get_buffer (GstAggregatorPad * pad); GstBuffer * gst_aggregator_pad_get_buffer (GstAggregatorPad * pad);
GST_EXPORT
gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad * pad); gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad * pad);
GST_EXPORT
gboolean gst_aggregator_pad_is_eos (GstAggregatorPad * pad); gboolean gst_aggregator_pad_is_eos (GstAggregatorPad * pad);
/********************* /*********************
@ -302,15 +310,20 @@ struct _GstAggregatorClass {
* GstAggregator methods * * GstAggregator methods *
************************/ ************************/
GST_EXPORT
GstFlowReturn gst_aggregator_finish_buffer (GstAggregator * self, GstFlowReturn gst_aggregator_finish_buffer (GstAggregator * self,
GstBuffer * buffer); GstBuffer * buffer);
GST_EXPORT
void gst_aggregator_set_src_caps (GstAggregator * self, void gst_aggregator_set_src_caps (GstAggregator * self,
GstCaps * caps); GstCaps * caps);
GST_EXPORT
void gst_aggregator_set_latency (GstAggregator * self, void gst_aggregator_set_latency (GstAggregator * self,
GstClockTime min_latency, GstClockTime min_latency,
GstClockTime max_latency); GstClockTime max_latency);
GST_EXPORT
GType gst_aggregator_get_type(void); GType gst_aggregator_get_type(void);
/* API that should eventually land in GstElement itself (FIXME) */ /* API that should eventually land in GstElement itself (FIXME) */
@ -318,13 +331,18 @@ typedef gboolean (*GstAggregatorPadForeachFunc) (GstAggregator
GstAggregatorPad * aggregator_pad, GstAggregatorPad * aggregator_pad,
gpointer user_data); gpointer user_data);
GST_EXPORT
gboolean gst_aggregator_iterate_sinkpads (GstAggregator * self, gboolean gst_aggregator_iterate_sinkpads (GstAggregator * self,
GstAggregatorPadForeachFunc func, GstAggregatorPadForeachFunc func,
gpointer user_data); gpointer user_data);
GST_EXPORT
GstClockTime gst_aggregator_get_latency (GstAggregator * self); GstClockTime gst_aggregator_get_latency (GstAggregator * self);
GST_EXPORT
GstBufferPool * gst_aggregator_get_buffer_pool (GstAggregator * self); GstBufferPool * gst_aggregator_get_buffer_pool (GstAggregator * self);
GST_EXPORT
void gst_aggregator_get_allocator (GstAggregator * self, void gst_aggregator_get_allocator (GstAggregator * self,
GstAllocator GstAllocator
** allocator, ** allocator,