context: fix transfer annotation
authorSebastian Mueller <sebastian.mueller@nirovision.com>
Tue, 8 Feb 2022 05:24:13 +0000 (16:24 +1100)
committerSebastian Mueller <sebastian.mueller@nirovision.com>
Tue, 8 Feb 2022 05:24:13 +0000 (16:24 +1100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1663>

subprojects/gstreamer/gst/gstcontext.c

index 424cbe7..8d71c00 100644 (file)
@@ -251,7 +251,7 @@ gst_context_get_structure (const GstContext * context)
  *
  * Gets a writable version of the structure.
  *
- * Returns: The structure of the context. The structure is still
+ * Returns: (transfer none): The structure of the context. The structure is still
  * owned by the context, which means that you should not free it and
  * that the pointer becomes invalid when you free the context.
  * This function checks if @context is writable.