[vlc-devel] [PATCH] d3d11va: assume HEVC 10 bits work on Winstore	builds if the hardware supports it
    Steve Lhomme 
    robux4 at videolabs.io
       
    Fri Dec  1 09:57:24 CET 2017
    
    
  
We can't access the registry so it would assume it's not supported.
---
 modules/codec/avcodec/d3d11va.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index 775c57a38c..bc538e6e6b 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -562,8 +562,10 @@ static int DxSetupOutput(vlc_va_t *va, const GUID *input, const video_format_t *
     }
 #endif
 
+#if !VLC_WINSTORE_APP
     if (IsEqualGUID(input,&DXVA_ModeHEVC_VLD_Main10) && !CanUseIntelHEVC(va))
         return VLC_EGENERIC;
+#endif
 
     DXGI_FORMAT processorInput[4];
     int idx = 0;
-- 
2.14.2
    
    
More information about the vlc-devel
mailing list