d3d12device: Don't warn for out of range device index
It can happen during enumeration as well, and it's expected error Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7070>
This commit is contained in:
parent
2983c50a9f
commit
e90880e988
@ -1180,7 +1180,7 @@ gst_d3d12_device_new_internal (const GstD3D12DeviceConstructData * data)
|
||||
|
||||
hr = gst_d3d12_device_find_adapter (data, factory.Get (), &index, &adapter);
|
||||
if (FAILED (hr)) {
|
||||
GST_WARNING ("Could not find adapter, hr: 0x%x", (guint) hr);
|
||||
GST_INFO ("Could not find adapter, hr: 0x%x", (guint) hr);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user