mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
base: Export boxed type copy/free functions for the remaining types
This commit is contained in:
parent
d99c9d9944
commit
35b426ff19
5 changed files with 14 additions and 6 deletions
|
@ -655,7 +655,7 @@ gst_base_parse_get_property (GObject * object, guint prop_id, GValue * value,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstBaseParseFrame *
|
GstBaseParseFrame *
|
||||||
gst_base_parse_frame_copy (GstBaseParseFrame * frame)
|
gst_base_parse_frame_copy (GstBaseParseFrame * frame)
|
||||||
{
|
{
|
||||||
GstBaseParseFrame *copy;
|
GstBaseParseFrame *copy;
|
||||||
|
|
|
@ -288,6 +288,8 @@ GstBaseParseFrame * gst_base_parse_frame_new (GstBuffer * buffer,
|
||||||
GST_EXPORT
|
GST_EXPORT
|
||||||
void gst_base_parse_frame_init (GstBaseParseFrame * frame);
|
void gst_base_parse_frame_init (GstBaseParseFrame * frame);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
|
GstBaseParseFrame * gst_base_parse_frame_copy (GstBaseParseFrame * frame);
|
||||||
GST_EXPORT
|
GST_EXPORT
|
||||||
void gst_base_parse_frame_free (GstBaseParseFrame * frame);
|
void gst_base_parse_frame_free (GstBaseParseFrame * frame);
|
||||||
|
|
||||||
|
|
|
@ -72,9 +72,6 @@ struct _GstFlowCombiner
|
||||||
volatile gint ref_count;
|
volatile gint ref_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstFlowCombiner *gst_flow_combiner_ref (GstFlowCombiner * combiner);
|
|
||||||
static void gst_flow_combiner_unref (GstFlowCombiner * combiner);
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (flowcombiner_dbg);
|
GST_DEBUG_CATEGORY_STATIC (flowcombiner_dbg);
|
||||||
#define GST_CAT_DEFAULT flowcombiner_dbg
|
#define GST_CAT_DEFAULT flowcombiner_dbg
|
||||||
|
|
||||||
|
@ -121,7 +118,7 @@ gst_flow_combiner_free (GstFlowCombiner * combiner)
|
||||||
gst_flow_combiner_unref (combiner);
|
gst_flow_combiner_unref (combiner);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowCombiner *
|
GstFlowCombiner *
|
||||||
gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (combiner != NULL, NULL);
|
g_return_val_if_fail (combiner != NULL, NULL);
|
||||||
|
@ -131,7 +128,7 @@ gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
||||||
return combiner;
|
return combiner;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
gst_flow_combiner_unref (GstFlowCombiner * combiner)
|
gst_flow_combiner_unref (GstFlowCombiner * combiner)
|
||||||
{
|
{
|
||||||
g_return_if_fail (combiner != NULL);
|
g_return_if_fail (combiner != NULL);
|
||||||
|
|
|
@ -44,6 +44,12 @@ typedef struct _GstFlowCombiner GstFlowCombiner;
|
||||||
GST_EXPORT
|
GST_EXPORT
|
||||||
GstFlowCombiner * gst_flow_combiner_new (void);
|
GstFlowCombiner * gst_flow_combiner_new (void);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
|
GstFlowCombiner * gst_flow_combiner_ref (GstFlowCombiner * combiner);
|
||||||
|
|
||||||
|
GST_EXPORT
|
||||||
|
void gst_flow_combiner_unref (GstFlowCombiner * combiner);
|
||||||
|
|
||||||
GST_EXPORT
|
GST_EXPORT
|
||||||
void gst_flow_combiner_free (GstFlowCombiner * combiner);
|
void gst_flow_combiner_free (GstFlowCombiner * combiner);
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ EXPORTS
|
||||||
gst_base_parse_convert_default
|
gst_base_parse_convert_default
|
||||||
gst_base_parse_drain
|
gst_base_parse_drain
|
||||||
gst_base_parse_finish_frame
|
gst_base_parse_finish_frame
|
||||||
|
gst_base_parse_frame_copy
|
||||||
gst_base_parse_frame_free
|
gst_base_parse_frame_free
|
||||||
gst_base_parse_frame_get_type
|
gst_base_parse_frame_get_type
|
||||||
gst_base_parse_frame_init
|
gst_base_parse_frame_init
|
||||||
|
@ -285,8 +286,10 @@ EXPORTS
|
||||||
gst_flow_combiner_free
|
gst_flow_combiner_free
|
||||||
gst_flow_combiner_get_type
|
gst_flow_combiner_get_type
|
||||||
gst_flow_combiner_new
|
gst_flow_combiner_new
|
||||||
|
gst_flow_combiner_ref
|
||||||
gst_flow_combiner_remove_pad
|
gst_flow_combiner_remove_pad
|
||||||
gst_flow_combiner_reset
|
gst_flow_combiner_reset
|
||||||
|
gst_flow_combiner_unref
|
||||||
gst_flow_combiner_update_flow
|
gst_flow_combiner_update_flow
|
||||||
gst_flow_combiner_update_pad_flow
|
gst_flow_combiner_update_pad_flow
|
||||||
gst_push_src_get_type
|
gst_push_src_get_type
|
||||||
|
|
Loading…
Reference in a new issue