bufferpool: pass acquire params to alloc_buffer
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 10 Feb 2016 13:01:54 +0000 (14:01 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 11 Feb 2016 17:11:20 +0000 (12:11 -0500)
commitb92d639fbf60c172a008cd93e4e35cc7cf9bc447
treea889a5ed4352243c26e7c5f8c3b35f5e974a295f
parent2b0ff13d070f370286078c5531b2e13006e5ce98
bufferpool: pass acquire params to alloc_buffer

When allocating a new buffer in the pool, both the do_alloc_buffer() and the
vmethod, alloc_buffer(), receive the parameter GstBufferPoolAcquireParams.

Nonetheless, when default_acquire_buffer() calls the do_alloc_buffer() it does
not pass the received GstBufferPoolAcquireParams, so when the user pass those
parameters they are ignored by alloc_buffer() vmethod.

This one-liner patch pass the received acquire params to do_alloc_buffer().

https://bugzilla.gnome.org/show_bug.cgi?id=761824
gst/gstbufferpool.c