[vlc-commits] d3d11va: fix winstore compilation
Steve Lhomme
git at videolan.org
Wed Apr 8 14:53:55 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Apr 7 15:31:25 2020 +0200| [b5fcaea7cafcebd4449d7d3827e6d9fdaa74f147] | committer: Steve Lhomme
d3d11va: fix winstore compilation
Broke in
Revision: 048cbddb955fecc9078c788d60756d726b71654e
Author: Steve Lhomme <robux4 at ycbcr.xyz>
Date: 2020-02-06 09:36:50
Message:
direct3d11: store a whole d3d11_device_t in the decoder device
Since it already has one anyway. No need to create external ones as long as you
hold a decoder device (or related video context).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5fcaea7cafcebd4449d7d3827e6d9fdaa74f147
---
modules/codec/avcodec/d3d11va.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index 9dc2e4bea3..b185a49139 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -536,7 +536,7 @@ static int DxCreateDecoderSurfaces(vlc_va_t *va, int codec_id,
* crashes totally the device */
if (codec_id == AV_CODEC_ID_H264 &&
(fmt->i_width > 2304 || fmt->i_height > 2304) &&
- isXboxHardware(&sys->d3d_dev))
+ isXboxHardware(sys->d3d_dev))
{
msg_Warn(va, "%dx%d resolution not supported by your hardware", fmt->i_width, fmt->i_height);
return VLC_EGENERIC;
More information about the vlc-commits
mailing list