From fa302587dd405d2057c68f0676f0289187039fc0 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 5 Dec 2017 20:56:09 +1100 Subject: [PATCH] check/harness: fix transfer annotations on buffer passing functions --- libs/gst/check/gstharness.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/gst/check/gstharness.c b/libs/gst/check/gstharness.c index 81dbd58dcc..b157de35d9 100644 --- a/libs/gst/check/gstharness.c +++ b/libs/gst/check/gstharness.c @@ -1561,7 +1561,7 @@ gst_harness_create_buffer (GstHarness * h, gsize size) /** * gst_harness_push: * @h: a #GstHarness - * @buffer: a #GstBuffer to push + * @buffer: (transfer full): a #GstBuffer to push * * Pushes a #GstBuffer on the #GstHarness srcpad. The standard way of * interacting with an harnessed element. @@ -1591,7 +1591,7 @@ gst_harness_push (GstHarness * h, GstBuffer * buffer) * * MT safe. * - * Returns: a #GstBuffer or %NULL if timed out. + * Returns: (transfer full): a #GstBuffer or %NULL if timed out. * * Since: 1.6 */ @@ -1621,7 +1621,7 @@ gst_harness_pull (GstHarness * h) * * MT safe. * - * Returns: a #GstBuffer or %NULL if no buffers are present in the #GAsyncQueue + * Returns: (transfer full): a #GstBuffer or %NULL if no buffers are present in the #GAsyncQueue * * Since: 1.6 */ @@ -1643,7 +1643,7 @@ gst_harness_try_pull (GstHarness * h) /** * gst_harness_push_and_pull: * @h: a #GstHarness - * @buffer: a #GstBuffer to push + * @buffer: (transfer full): a #GstBuffer to push * * Basically a gst_harness_push and a gst_harness_pull in one line. Reflects * the fact that you often want to do exactly this in your test: Push one buffer @@ -1651,7 +1651,7 @@ gst_harness_try_pull (GstHarness * h) * * MT safe. * - * Returns: a #GstBuffer or %NULL if timed out. + * Returns: (transfer full): a #GstBuffer or %NULL if timed out. * * Since: 1.6 */