diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index 721cc60c64..0afd41054b 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -128,7 +128,7 @@ G_STMT_START { \ /*** HELPER FUNCTIONS ***/ static gboolean -gst_dp_header_from_buffer_any (const GstBuffer * buffer, GstDPHeaderFlag flags, +gst_dp_header_from_buffer_any (GstBuffer * buffer, GstDPHeaderFlag flags, guint * length, guint8 ** header, GstDPVersion version) { guint8 *h; @@ -351,7 +351,7 @@ gst_dp_header_payload_type (const guint8 * header) /*** PACKETIZER FUNCTIONS ***/ static gboolean -gst_dp_header_from_buffer_1_0 (const GstBuffer * buffer, GstDPHeaderFlag flags, +gst_dp_header_from_buffer_1_0 (GstBuffer * buffer, GstDPHeaderFlag flags, guint * length, guint8 ** header) { return gst_dp_header_from_buffer_any (buffer, flags, length, header, diff --git a/gst/gdp/dataprotocol.h b/gst/gdp/dataprotocol.h index 3812ff035c..1370c65574 100644 --- a/gst/gdp/dataprotocol.h +++ b/gst/gdp/dataprotocol.h @@ -97,7 +97,7 @@ typedef enum { GST_DP_PAYLOAD_EVENT_NONE = 64, } GstDPPayloadType; -typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer, +typedef gboolean (*GstDPHeaderFromBufferFunction) (GstBuffer * buffer, GstDPHeaderFlag flags, guint * length, guint8 ** header);