diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-03-14 11:57:33 +0000 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-03-14 12:00:53 +0000 |
commit | 7f6b11a5b2c508a4b2d9887c018c3bdec9c12b66 (patch) | |
tree | ed0f74cf0ce469b3107e318caa301212e8b53b5c | |
parent | c740bad1a003e43c732183f18ed242b602e085a2 (diff) |
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.
-rw-r--r-- | gst/gstquery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/gstquery.c b/gst/gstquery.c index fa82ecade..2828bd550 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -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), |