/*** 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;
/*** 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,
GST_DP_PAYLOAD_EVENT_NONE = 64,
} GstDPPayloadType;
-typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer,
+typedef gboolean (*GstDPHeaderFromBufferFunction) (GstBuffer * buffer,
GstDPHeaderFlag flags,
guint * length,
guint8 ** header);