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:
Seungha Yang 2024-06-20 20:44:56 +09:00 committed by GStreamer Marge Bot
parent 2983c50a9f
commit e90880e988

View file

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