mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
d3d11device: Fix adapter LUID comparison in wrapped device mode
Fix integer type mismatching Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3382 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6364>
This commit is contained in:
parent
6e57362f35
commit
470bcd4ec9
1 changed files with 1 additions and 2 deletions
|
@ -834,7 +834,6 @@ _gst_d3d11_device_get_adapter (const GstD3D11DeviceConstructData * data,
|
|||
ComPtr < IDXGIDevice > dxgi_device;
|
||||
ComPtr < IDXGIAdapter > adapter;
|
||||
ID3D11Device *device = data->data.device;
|
||||
guint luid;
|
||||
|
||||
hr = device->QueryInterface (IID_PPV_ARGS (&dxgi_device));
|
||||
if (FAILED (hr))
|
||||
|
@ -852,7 +851,7 @@ _gst_d3d11_device_get_adapter (const GstD3D11DeviceConstructData * data,
|
|||
if (FAILED (hr))
|
||||
return hr;
|
||||
|
||||
luid = gst_d3d11_luid_to_int64 (&desc.AdapterLuid);
|
||||
auto luid = gst_d3d11_luid_to_int64 (&desc.AdapterLuid);
|
||||
|
||||
for (guint i = 0;; i++) {
|
||||
DXGI_ADAPTER_DESC tmp_desc;
|
||||
|
|
Loading…
Reference in a new issue