diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c index cfcb1bf6d2..fed56a5e5f 100644 --- a/gst-libs/gst/app/gstappsink.c +++ b/gst-libs/gst/app/gstappsink.c @@ -1499,7 +1499,7 @@ gst_app_sink_get_wait_on_eos (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: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS. + * Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS. * Call gst_sample_unref() after usage. */ GstSample * @@ -1524,7 +1524,7 @@ gst_app_sink_pull_preroll (GstAppSink * appsink) * 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: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS. + * Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS. * Call gst_sample_unref() after usage. */ GstSample * @@ -1558,7 +1558,7 @@ gst_app_sink_pull_sample (GstAppSink * appsink) * This function blocks until a preroll sample or EOS is received, the appsink * element is set to the READY/NULL state, or the timeout expires. * - * Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires. + * Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires. * Call gst_sample_unref() after usage. * * Since: 1.10 @@ -1654,8 +1654,8 @@ not_started: * this function returns %NULL. Use gst_app_sink_is_eos () to check for the EOS * condition. * - * Returns: (transfer full): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires. - * Call gst_sample_unref() after usage. + * Returns: (transfer full) (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires. + * Call gst_sample_unref() after usage. * * Since: 1.10 */