mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
bufferpool: also allow NULL params in _acquire
This commit is contained in:
parent
9b1cadc329
commit
1dff415d8a
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ default_acquire_buffer (GstBufferPool * pool, GstBuffer ** buffer,
|
|||
}
|
||||
|
||||
/* check if we need to wait */
|
||||
if (!(params->flags & GST_BUFFER_POOL_FLAG_WAIT)) {
|
||||
if (params && !(params->flags & GST_BUFFER_POOL_FLAG_WAIT)) {
|
||||
result = GST_FLOW_UNEXPECTED;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue