rtphdrext: Update write() API to return a signed value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1059>
This commit is contained in:
Olivier Crête 2021-08-18 19:46:25 -04:00 committed by Olivier Crête
parent 4576abde67
commit f8f24a2619
3 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)