Commit 3776eb9e authored by Wim Taymans's avatar Wim Taymans

bufferpool: check min/max_buffers

parent ce90970b
......@@ -645,6 +645,7 @@ gst_buffer_pool_config_set_params (GstStructure * config, const GstCaps * caps,
guint size, guint min_buffers, guint max_buffers)
g_return_if_fail (config != NULL);
g_return_if_fail (max_buffers == 0 || min_buffers <= max_buffers);
gst_structure_id_set (config,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment