update for memory api changes

This commit is contained in:
Wim Taymans 2012-03-15 13:32:08 +01:00 committed by Tim-Philipp Müller
parent 4ae0b5eb48
commit 38abb4a497

View file

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