diff options
author | fengalin <fengalin@free.fr> | 2017-10-10 15:53:38 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-02-14 19:27:03 +0000 |
commit | acd19beac598e2965c220668d15142a25ce11b31 (patch) | |
tree | 99325084308994fcd5ecb37852ee89678e2f9ce1 | |
parent | 56286c370095a5a58e35737ca103bb5d201e00c1 (diff) | |
download | gstreamer-acd19beac598e2965c220668d15142a25ce11b31.tar.gz |
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
-rw-r--r-- | libs/gst/base/gstflowcombiner.c | 18 |
1 files changed, 18 insertions, 0 deletions
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) { |