[vlc-devel] [PATCH] d3d11va: fix Winstore compilation
Steve Lhomme
robux4 at videolabs.io
Tue Nov 21 15:03:11 CET 2017
---
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 7a9cf9f07b..eb17e21799 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -691,7 +691,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.dev))
+ isXboxHardware(sys->d3d_dev.d3ddevice))
{
msg_Warn(va, "%dx%d resolution not supported by your hardware", fmt->i_width, fmt->i_height);
return VLC_EGENERIC;
--
2.14.2
More information about the vlc-devel
mailing list