[vlc-commits] d3d9: Fix compilation after previous commit
Martin Storsjö
git at videolan.org
Sat Jun 15 12:21:14 CEST 2019
vlc | branch: master | Martin Storsjö <martin at martin.st> | Sat Jun 15 13:20:35 2019 +0300| [877b61d65455f87227a6310069b052253440e8f1] | committer: Martin Storsjö
d3d9: Fix compilation after previous commit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=877b61d65455f87227a6310069b052253440e8f1
---
modules/video_output/win32/direct3d9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index da4f4a8e7c..0d17fcdc87 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1282,7 +1282,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture,
HRESULT hr = IDirect3DDevice9_TestCooperativeLevel(p_d3d9_dev->dev);
if (FAILED(hr)) {
if (hr == D3DERR_DEVICENOTRESET && !sys->reset_device) {
- if (!is_d3d9_opaque(picture->fmt.i_chroma))
+ if (!is_d3d9_opaque(picture->format.i_chroma))
vout_display_SendEventPicturesInvalid(vd);
sys->reset_device = true;
sys->lost_not_ready = false;
More information about the vlc-commits
mailing list