mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
omx: Always tell the component about the right number of buffers that we're going to allocate
This commit is contained in:
parent
59e92f955d
commit
5132a89331
1 changed files with 1 additions and 1 deletions
|
@ -1597,7 +1597,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
|
|||
* the minimal number of buffers required, use the minimal
|
||||
* number of buffers
|
||||
*/
|
||||
if (port->port_def.nBufferCountActual < n) {
|
||||
if (port->port_def.nBufferCountActual != n) {
|
||||
port->port_def.nBufferCountActual = n;
|
||||
err = gst_omx_component_set_parameter (comp, OMX_IndexParamPortDefinition,
|
||||
&port->port_def);
|
||||
|
|
Loading…
Reference in a new issue