diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2021-08-18 19:46:25 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2021-09-15 17:02:01 +0000 |
commit | f8f24a2619b56637b364a23f082b6cc0178ebd3e (patch) | |
tree | fda3c726bcfbd1a5fdd5ab2b2019e6515b9e25bb | |
parent | 4576abde6754468835148d223f8bb124667d312e (diff) |
rtphdrext: Update write() API to return a signed value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1059>
-rw-r--r-- | gst/rtp/gstrtphdrext-colorspace.c | 2 | ||||
-rw-r--r-- | gst/rtpmanager/gstrtphdrext-rfc6464.c | 2 | ||||
-rw-r--r-- | gst/rtpmanager/gstrtphdrext-twcc.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtphdrext-colorspace.c b/gst/rtp/gstrtphdrext-colorspace.c index 05fd8ddb0..eded3bed6 100644 --- a/gst/rtp/gstrtphdrext-colorspace.c +++ b/gst/rtp/gstrtphdrext-colorspace.c @@ -95,7 +95,7 @@ gst_rtp_header_extension_colorspace_get_max_size (GstRTPHeaderExtension * ext, GST_RTP_HDREXT_COLORSPACE_SIZE; } -static gsize +static gssize gst_rtp_header_extension_colorspace_write (GstRTPHeaderExtension * ext, const GstBuffer * input_meta, GstRTPHeaderExtensionFlags write_flags, GstBuffer * output, guint8 * data, gsize size) diff --git a/gst/rtpmanager/gstrtphdrext-rfc6464.c b/gst/rtpmanager/gstrtphdrext-rfc6464.c index 1dc1f0f43..03f9e5436 100644 --- a/gst/rtpmanager/gstrtphdrext-rfc6464.c +++ b/gst/rtpmanager/gstrtphdrext-rfc6464.c @@ -213,7 +213,7 @@ gst_rtp_header_extension_rfc6464_set_caps_from_attributes (GstRTPHeaderExtension return TRUE; } -static gsize +static gssize gst_rtp_header_extension_rfc6464_write (GstRTPHeaderExtension * ext, const GstBuffer * input_meta, GstRTPHeaderExtensionFlags write_flags, GstBuffer * output, guint8 * data, gsize size) diff --git a/gst/rtpmanager/gstrtphdrext-twcc.c b/gst/rtpmanager/gstrtphdrext-twcc.c index 0ebdea6ec..c1604aeb0 100644 --- a/gst/rtpmanager/gstrtphdrext-twcc.c +++ b/gst/rtpmanager/gstrtphdrext-twcc.c @@ -57,7 +57,7 @@ static GstRTPHeaderExtensionFlags gst_rtp_header_extension_twcc_get_supported_flags (GstRTPHeaderExtension * ext); static gsize gst_rtp_header_extension_twcc_get_max_size (GstRTPHeaderExtension * ext, const GstBuffer * buffer); -static gsize gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext, +static gssize gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext, const GstBuffer * input_meta, GstRTPHeaderExtensionFlags write_flags, GstBuffer * output, guint8 * data, gsize size); static gboolean gst_rtp_header_extension_twcc_read (GstRTPHeaderExtension * ext, @@ -167,7 +167,7 @@ gst_rtp_header_extension_twcc_get_max_size (GstRTPHeaderExtension * ext, return 2; } -static gsize +static gssize gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext, const GstBuffer * input_meta, GstRTPHeaderExtensionFlags write_flags, GstBuffer * output, guint8 * data, gsize size) |