summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-15 13:32:08 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:44 +0100
commit38abb4a497161903427991dac7077ee535fd714e (patch)
treeff16e2722c2d4c71d13e3eff968dbcdb82646f92
parent4ae0b5eb48ed0926d5b45ec9e770701996c07a29 (diff)
update for memory api changes
-rw-r--r--gst/gdp/dataprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c
index c85952ad5..c602ba2ba 100644
--- a/gst/gdp/dataprotocol.c
+++ b/gst/gdp/dataprotocol.c
@@ -459,7 +459,7 @@ gst_dp_buffer_from_header (guint header_length, const guint8 * header)
buffer =
gst_buffer_new_allocate (NULL,
- (guint) GST_DP_HEADER_PAYLOAD_LENGTH (header), 0);
+ (guint) GST_DP_HEADER_PAYLOAD_LENGTH (header), NULL);
GST_BUFFER_TIMESTAMP (buffer) = GST_DP_HEADER_TIMESTAMP (header);
GST_BUFFER_DURATION (buffer) = GST_DP_HEADER_DURATION (header);