From 47bcd62d1dd21e506f14e79a4619fd307553f425 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 2 Mar 2021 21:13:18 +0900 Subject: [PATCH] d3d11decoder: Add trace log for DPB pool size debugging Part-of: --- sys/d3d11/gstd3d11decoder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/d3d11/gstd3d11decoder.c b/sys/d3d11/gstd3d11decoder.c index a89c80a..313728d 100644 --- a/sys/d3d11/gstd3d11decoder.c +++ b/sys/d3d11/gstd3d11decoder.c @@ -1710,6 +1710,9 @@ gst_d3d11_decoder_can_direct_render (GstD3D11Decoder * decoder, return FALSE; } + GST_TRACE_OBJECT (decoder, "textures-in-use/array-size: %d/%d", + num_texture_in_use, array_size); + /* DPB pool is full now */ if (num_texture_in_use >= array_size) return FALSE; -- 2.7.4