summaryrefslogtreecommitdiff
path: root/gst-libs/gst/rtp/gstrtphdrext.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2021-08-18 19:40:55 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-15 16:35:09 +0000
commitfd93c1ac197fc98ed896afab7414b91b383039d2 (patch)
tree486d21adea4de38a2315845eec325cedf902cbd2 /gst-libs/gst/rtp/gstrtphdrext.h
parent98f2a84a289ed4d4cfac9bc5c73182a56eefa99c (diff)
downloadgstreamer-plugins-base-fd93c1ac197fc98ed896afab7414b91b383039d2.tar.gz
rtphdrext: Make write function return a signed value
Since the return value is documented to possibly be smaller than 0, then it needs to be signed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1258>
Diffstat (limited to 'gst-libs/gst/rtp/gstrtphdrext.h')
-rw-r--r--gst-libs/gst/rtp/gstrtphdrext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/rtp/gstrtphdrext.h b/gst-libs/gst/rtp/gstrtphdrext.h
index fe9a5492e..d68a25d9d 100644
--- a/gst-libs/gst/rtp/gstrtphdrext.h
+++ b/gst-libs/gst/rtp/gstrtphdrext.h
@@ -159,7 +159,7 @@ struct _GstRTPHeaderExtensionClass
gsize (*get_max_size) (GstRTPHeaderExtension * ext,
const GstBuffer * input_meta);
- gsize (*write) (GstRTPHeaderExtension * ext,
+ gssize (*write) (GstRTPHeaderExtension * ext,
const GstBuffer * input_meta,
GstRTPHeaderExtensionFlags write_flags,
GstBuffer * output,
@@ -210,7 +210,7 @@ GST_RTP_API
void gst_rtp_header_extension_set_id (GstRTPHeaderExtension * ext,
guint ext_id);
GST_RTP_API
-gsize gst_rtp_header_extension_write (GstRTPHeaderExtension * ext,
+gssize gst_rtp_header_extension_write (GstRTPHeaderExtension * ext,
const GstBuffer * input_meta,
GstRTPHeaderExtensionFlags write_flags,
GstBuffer * output,