summaryrefslogtreecommitdiff
path: root/gst/gdp
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-12-13 15:19:16 +0000
committerTim-Philipp Müller <tim@centricular.com>2014-12-26 13:44:29 +0000
commit3853f8c070607baff95d91ab923a485c371eef9a (patch)
tree9aa87aa8b250854e34e0acbcd8db9f279ce751ed /gst/gdp
parent68e77265a00b131fa45aba45b4c1b8e4ceff3ac7 (diff)
downloadgstreamer-plugins-bad-3853f8c070607baff95d91ab923a485c371eef9a.tar.gz
gdppay: dataprotocol: drop bogus const
Doesn't really make sense given that we map it and possibly merge memories and such.
Diffstat (limited to 'gst/gdp')
-rw-r--r--gst/gdp/dataprotocol.c4
-rw-r--r--gst/gdp/dataprotocol.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c
index 721cc60c6..0afd41054 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 3812ff035..1370c6557 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);