From 6feac3ed260a292d16baf229a0e6e1171a952396 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 6 Feb 2019 14:50:44 +0100 Subject: omxvideodec: add debug if proposed pool can't provide enough buffers We were silently ignoring the pool which was pretty confusing when debugging. --- omx/gstomxvideodec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'omx') diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 1072b82..abe6e30 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -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; -- cgit v1.2.1