[vlc-commits] d3d11va: fix Winstore compilation

Steve Lhomme git at videolan.org
Tue Nov 21 16:48:47 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Nov 21 15:03:11 2017 +0100| [f85977ff31b6b8f72939e87b5b88bffa0d8a3a18] | committer: Jean-Baptiste Kempf

d3d11va: fix Winstore compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f85977ff31b6b8f72939e87b5b88bffa0d8a3a18
---

 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 608016aa7b..88513065e0 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -688,7 +688,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;



More information about the vlc-commits mailing list