mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
d3d11memory: Adjust log level for some spammy debug messages
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1723>
This commit is contained in:
parent
10f622aa5d
commit
fab234f2f1
1 changed files with 4 additions and 4 deletions
|
@ -996,7 +996,7 @@ gst_d3d11_memory_ensure_shader_resource_view (GstD3D11Memory * mem)
|
|||
g_return_val_if_fail (gst_is_d3d11_memory (GST_MEMORY_CAST (mem)), FALSE);
|
||||
|
||||
if (!(mem->desc.BindFlags & D3D11_BIND_SHADER_RESOURCE)) {
|
||||
GST_WARNING_OBJECT (GST_MEMORY_CAST (mem)->allocator,
|
||||
GST_LOG_OBJECT (GST_MEMORY_CAST (mem)->allocator,
|
||||
"Need BindFlags, current flag 0x%x", mem->desc.BindFlags);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1061,7 +1061,7 @@ gst_d3d11_memory_ensure_decoder_output_view (GstD3D11Memory * mem,
|
|||
priv = allocator->priv;
|
||||
|
||||
if (!(mem->desc.BindFlags & D3D11_BIND_DECODER)) {
|
||||
GST_WARNING_OBJECT (allocator,
|
||||
GST_LOG_OBJECT (allocator,
|
||||
"Need BindFlags, current flag 0x%x", mem->desc.BindFlags);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1165,7 +1165,7 @@ gst_d3d11_memory_ensure_processor_input_view (GstD3D11Memory * mem,
|
|||
priv = allocator->priv;
|
||||
|
||||
if (!check_bind_flags_for_processor_input_view (mem->desc.BindFlags)) {
|
||||
GST_WARNING_OBJECT (allocator,
|
||||
GST_LOG_OBJECT (allocator,
|
||||
"Need BindFlags, current flag 0x%x", mem->desc.BindFlags);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1246,7 +1246,7 @@ gst_d3d11_memory_ensure_processor_output_view (GstD3D11Memory * mem,
|
|||
allocator = GST_D3D11_ALLOCATOR (GST_MEMORY_CAST (mem)->allocator);
|
||||
|
||||
if (!(mem->desc.BindFlags & D3D11_BIND_RENDER_TARGET)) {
|
||||
GST_WARNING_OBJECT (allocator,
|
||||
GST_LOG_OBJECT (allocator,
|
||||
"Need BindFlags, current flag 0x%x", mem->desc.BindFlags);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue