[vlc-commits] [Git][videolan/vlc][3.0.x] d3d11_deinterlace: remove duplicate D3D11_Create call
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Mar 6 13:49:36 UTC 2025
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
fb564077 by Steve Lhomme at 2025-03-06T13:24:53+00:00
d3d11_deinterlace: remove duplicate D3D11_Create call
It was added in 159ef80cd41bbb24fca51044b09fa73f33382a28
But it was already there since 74361a31b6b40b554fb61ce59c65e6f84c534c8d.
The order doesn't matter because we rely on D3D11_FilterHoldInstance()
which already has the DLL loaded.
- - - - -
1 changed file:
- modules/hw/d3d11/d3d11_deinterlace.c
Changes:
=====================================
modules/hw/d3d11/d3d11_deinterlace.c
=====================================
@@ -369,9 +369,6 @@ int D3D11OpenDeinterlace(vlc_object_t *obj)
return VLC_ENOOBJ;
}
- if (D3D11_Create(filter, &sys->hd3d, false) != VLC_SUCCESS)
- goto error;
-
hr = ID3D11Device_QueryInterface(sys->d3d_dev.d3ddevice, &IID_ID3D11VideoDevice, (void **)&sys->d3dviddev);
if (FAILED(hr)) {
msg_Err(filter, "Could not Query ID3D11VideoDevice Interface. (hr=0x%lX)", hr);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fb5640776c1bebfd110464d3998565a812677ad4
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fb5640776c1bebfd110464d3998565a812677ad4
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list