mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
omxvideodec: add debug if proposed pool can't provide enough buffers
We were silently ignoring the pool which was pretty confusing when debugging.
This commit is contained in:
parent
7412b39765
commit
6feac3ed26
1 changed files with 2 additions and 0 deletions
|
@ -784,6 +784,8 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
|||
max = min;
|
||||
} else if (max < min) {
|
||||
/* Can't use pool because can't have enough buffers */
|
||||
GST_DEBUG_OBJECT (self,
|
||||
"pool can only provide %d buffers but %d are required", max, min);
|
||||
caps = NULL;
|
||||
} else {
|
||||
min = max;
|
||||
|
|
Loading…
Reference in a new issue