From acd19beac598e2965c220668d15142a25ce11b31 Mon Sep 17 00:00:00 2001 From: fengalin Date: Tue, 10 Oct 2017 15:53:38 +0200 Subject: 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 --- libs/gst/base/gstflowcombiner.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/libs/gst/base/gstflowcombiner.c b/libs/gst/base/gstflowcombiner.c index 09639b9eaf..b8ade06b47 100644 --- a/libs/gst/base/gstflowcombiner.c +++ b/libs/gst/base/gstflowcombiner.c @@ -118,6 +118,16 @@ gst_flow_combiner_free (GstFlowCombiner * 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 * gst_flow_combiner_ref (GstFlowCombiner * combiner) { @@ -128,6 +138,14 @@ gst_flow_combiner_ref (GstFlowCombiner * combiner) return combiner; } +/** + * gst_flow_combiner_unref: + * @combiner: the #GstFlowCombiner to unreference. + * + * Decrements the reference count on the #GstFlowCombiner. + * + * Since: 1.12.1 + */ void gst_flow_combiner_unref (GstFlowCombiner * combiner) { -- cgit v1.2.1