Commit f85977ff authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

d3d11va: fix Winstore compilation

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ff4b90c1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment