mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
flowcombiner: Fix version for ref and unref functions
The functions were introduced in version 1.12.1, GstFlowCombiner was introduced in 1.4. https://bugzilla.gnome.org/show_bug.cgi?id=788778
This commit is contained in:
parent
2841b8f0b2
commit
6617b01af9
1 changed files with 18 additions and 0 deletions
|
@ -118,6 +118,16 @@ gst_flow_combiner_free (GstFlowCombiner * combiner)
|
||||||
gst_flow_combiner_unref (combiner);
|
gst_flow_combiner_unref (combiner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_flow_combiner_ref:
|
||||||
|
* @combiner: the #GstFlowCombiner to add a reference to.
|
||||||
|
*
|
||||||
|
* Increments the reference count on the #GstFlowCombiner.
|
||||||
|
*
|
||||||
|
* Returns: the #GstFlowCombiner.
|
||||||
|
*
|
||||||
|
* Since: 1.12.1
|
||||||
|
*/
|
||||||
GstFlowCombiner *
|
GstFlowCombiner *
|
||||||
gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
||||||
{
|
{
|
||||||
|
@ -128,6 +138,14 @@ gst_flow_combiner_ref (GstFlowCombiner * combiner)
|
||||||
return combiner;
|
return combiner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_flow_combiner_unref:
|
||||||
|
* @combiner: the #GstFlowCombiner to unreference.
|
||||||
|
*
|
||||||
|
* Decrements the reference count on the #GstFlowCombiner.
|
||||||
|
*
|
||||||
|
* Since: 1.12.1
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
gst_flow_combiner_unref (GstFlowCombiner * combiner)
|
gst_flow_combiner_unref (GstFlowCombiner * combiner)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue