diff --git a/girs/GstApp-1.0.gir b/girs/GstApp-1.0.gir
index e233663eec..fb8d58387c 100644
--- a/girs/GstApp-1.0.gir
+++ b/girs/GstApp-1.0.gir
@@ -870,7 +870,7 @@ If an EOS event was received before any buffers, this function returns
This function blocks until a preroll sample or EOS is received or the appsink
element is set to the READY/NULL state.
- a #GstSample or NULL when the appsink is stopped or EOS.
+ a #GstSample or %NULL when the appsink is stopped or EOS.
@@ -890,7 +890,7 @@ the "drop" and "max-buffers" properties.
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.
- a #GstSample or NULL when the appsink is stopped or EOS.
+ a #GstSample or %NULL when the appsink is stopped or EOS.
@@ -949,7 +949,8 @@ condition.
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.
- a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
+ a #GstSample or %NULL when the appsink
+is stopped or EOS or the timeout expires.
diff --git a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c
index 28da39381d..912a3a9eb4 100644
--- a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c
+++ b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c
@@ -405,7 +405,7 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
* This function blocks until a preroll sample or EOS is received or the appsink
* element is set to the READY/NULL state.
*
- * Returns: (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
+ * Returns: (nullable) (transfer full): a #GstSample or %NULL when the appsink is stopped or EOS.
*/
gst_app_sink_signals[SIGNAL_PULL_PREROLL] =
g_signal_new ("pull-preroll", G_TYPE_FROM_CLASS (klass),
@@ -430,7 +430,7 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
* 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: (nullable): a #GstSample or NULL when the appsink is stopped or EOS.
+ * Returns: (nullable) (transfer full): a #GstSample or %NULL when the appsink is stopped or EOS.
*/
gst_app_sink_signals[SIGNAL_PULL_SAMPLE] =
g_signal_new ("pull-sample", G_TYPE_FROM_CLASS (klass),
@@ -462,7 +462,8 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
* 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: (nullable): a #GstSample or NULL when the appsink is stopped or EOS or the timeout expires.
+ * Returns: (nullable) (transfer full): a #GstSample or %NULL when the appsink
+ * is stopped or EOS or the timeout expires.
*
* Since: 1.10
*/