diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c index ecec3b56f1..f6408d65af 100644 --- a/gst-libs/gst/app/gstappsink.c +++ b/gst-libs/gst/app/gstappsink.c @@ -1093,7 +1093,8 @@ gst_app_sink_get_drop (GstAppSink * appsink) * This function blocks until a preroll sample or EOS is received or the appsink * element is set to the READY/NULL state. * - * Returns: a #GstBuffer or NULL when the appsink is stopped or EOS. + * Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS. + * Call gst_sample_unref() after usage. */ GstSample * gst_app_sink_pull_preroll (GstAppSink * appsink) @@ -1161,7 +1162,8 @@ not_started: * If an EOS event was received before any buffers, this function returns * %NULL. Use gst_app_sink_is_eos () to check for the EOS condition. * - * Returns: a #GstBuffer or NULL when the appsink is stopped or EOS. + * Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS. + * Call gst_sample_unref() after usage. */ GstSample *