From a98330636a95b9e4fe30ffd97bb5f05809a15a98 Mon Sep 17 00:00:00 2001 From: Aleksandr Slobodeniuk Date: Tue, 5 Sep 2023 23:36:47 +0200 Subject: [PATCH] h264/h265parser: clarify some gtk-doc annotations Needed for the documentation since the transfer is not obvious. Part-of: --- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c | 4 ++-- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c index f32f0c5602..aa2efa9403 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c @@ -3442,7 +3442,7 @@ out: * The validation for completeness of @au and @sei is caller's responsibility. * Both @au and @sei must be byte-stream formatted * - * Returns: (nullable): a SEI inserted #GstBuffer or %NULL + * Returns: (transfer full) (nullable): a SEI inserted #GstBuffer or %NULL * if cannot figure out proper position to insert a @sei * * Since: 1.18 @@ -3472,7 +3472,7 @@ gst_h264_parser_insert_sei (GstH264NalParser * nalparser, GstBuffer * au, * Nal prefix type of both @au and @sei must be packetized, and * also the size of nal length field must be identical to @nal_length_size * - * Returns: (nullable): a SEI inserted #GstBuffer or %NULL + * Returns: (transfer full) (nullable): a SEI inserted #GstBuffer or %NULL * if cannot figure out proper position to insert a @sei * * Since: 1.18 diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c index 1704b06e1a..66b258b3c6 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c @@ -4665,7 +4665,7 @@ out: * The validation for completeness of @au and @sei is caller's responsibility. * Both @au and @sei must be byte-stream formatted * - * Returns: (nullable): a SEI inserted #GstBuffer or %NULL + * Returns: (transfer full) (nullable): a SEI inserted #GstBuffer or %NULL * if cannot figure out proper position to insert a @sei * * Since: 1.18 @@ -4695,7 +4695,7 @@ gst_h265_parser_insert_sei (GstH265Parser * parser, GstBuffer * au, * Nal prefix type of both @au and @sei must be packetized, and * also the size of nal length field must be identical to @nal_length_size * - * Returns: (nullable): a SEI inserted #GstBuffer or %NULL + * Returns: (transfer full) (nullable): a SEI inserted #GstBuffer or %NULL * if cannot figure out proper position to insert a @sei * * Since: 1.18