mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
update for memory api changes
This commit is contained in:
parent
4ae0b5eb48
commit
38abb4a497
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue