d3d11decoder: Add trace log for DPB pool size debugging

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2051>
This commit is contained in:
Seungha Yang 2021-03-02 21:13:18 +09:00
parent 98929c8157
commit 47bcd62d1d

View file

@ -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;