[vlc-commits] [Git][videolan/vlc][3.0.x] direct3d11: fix ID3D11Resource used by default for picture decoding
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Fri Dec 5 06:17:51 UTC 2025
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
e09876cc by Steve Lhomme at 2025-12-04T11:45:13+01:00
direct3d11: fix ID3D11Resource used by default for picture decoding
Bogus copy paste from 833b02552a6d6055f1ed1d5f84827ac213db5774.
Fixes #29479
- - - - -
1 changed file:
- modules/video_output/win32/direct3d11.c
Changes:
=====================================
modules/video_output/win32/direct3d11.c
=====================================
@@ -1121,7 +1121,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
ID3D11Texture2D_GetDesc(p_sys->texture[KNOWN_DXGI_INDEX], &srcDesc);
ID3D11DeviceContext* copyContext = sys->d3d_dev.d3dcontext;
- ID3D11Resource* copyResource = p_sys->resource[KNOWN_DXGI_INDEX];
+ ID3D11Resource* copyResource = sys->stagingSys.resource[KNOWN_DXGI_INDEX];
ID3D11Resource* newResource = NULL;
if (is_d3d11_opaque(picture->format.i_chroma) && sys->d3d_dev.d3dcontext != p_sys->context)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e09876cc3bf568fce0058a4ead46085415690191
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e09876cc3bf568fce0058a4ead46085415690191
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