[calls] sip: codecs: Fix transfer annotation of media_codecs_get_candidates()



commit b49041a3f2ceaa321bfc5a065022725a784100e6
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Nov 23 14:19:49 2021 +0100

    sip: codecs: Fix transfer annotation of media_codecs_get_candidates()

 plugins/sip/gst-rfc3551.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/sip/gst-rfc3551.c b/plugins/sip/gst-rfc3551.c
index 139432cb..634c0340 100644
--- a/plugins/sip/gst-rfc3551.c
+++ b/plugins/sip/gst-rfc3551.c
@@ -111,7 +111,8 @@ media_codec_get_gst_capabilities (MediaCodecInfo *codec)
 
 /* media_codecs_get_candidates:
  *
- * Returns: (transfer none): A #GList of codec candidates of type #MediaCodecInfo
+ * Returns: (transfer container): A #GList of codec candidates of type #MediaCodecInfo.
+ * Free the list with g_list_free when done.
  */
 GList *
 media_codecs_get_candidates (void)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]