mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
Properly set the GType in the subbuffer too
Original commit message from CVS: Properly set the GType in the subbuffer too
This commit is contained in:
parent
3a16440217
commit
fe49cb9cba
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ gst_buffer_create_sub (GstBuffer *parent,
|
|||
|
||||
g_mutex_lock (_gst_buffer_chunk_lock);
|
||||
buffer = g_mem_chunk_alloc (_gst_buffer_chunk);
|
||||
GST_DATA_TYPE(buffer) = _gst_buffer_type;
|
||||
g_mutex_unlock (_gst_buffer_chunk_lock);
|
||||
GST_INFO (GST_CAT_BUFFER,"creating new subbuffer %p from parent %p (size %u, offset %u)",
|
||||
buffer, parent, size, offset);
|
||||
|
|
Loading…
Reference in a new issue