mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
allocation: Allow allocation pool without size
This allow proposing a number of buffers required even if the size of buffer is unfixed. This is often the case for encoded formats.
This commit is contained in:
parent
c740bad1a0
commit
7f6b11a5b2
1 changed files with 0 additions and 1 deletions
|
@ -1602,7 +1602,6 @@ gst_query_add_allocation_pool (GstQuery * query, GstBufferPool * pool,
|
|||
|
||||
g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION);
|
||||
g_return_if_fail (gst_query_is_writable (query));
|
||||
g_return_if_fail (size != 0);
|
||||
|
||||
structure = GST_QUERY_STRUCTURE (query);
|
||||
array = ensure_array (structure, GST_QUARK (POOL),
|
||||
|
|
Loading…
Reference in a new issue