[vlc-devel] [PATCH v3 06/14] direct3d9: rename the decoder device to "dxva2"

Steve Lhomme robux4 at ycbcr.xyz
Thu Feb 13 16:44:47 CET 2020


This easier to set by users than "d3d9-device".

It also matches the name better since it can also be used with OpenGL.
---
 modules/hw/d3d9/d3d9_filters.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/d3d9/d3d9_filters.c b/modules/hw/d3d9/d3d9_filters.c
index abd82c9af25..80106bce5b2 100644
--- a/modules/hw/d3d9/d3d9_filters.c
+++ b/modules/hw/d3d9/d3d9_filters.c
@@ -524,5 +524,5 @@ vlc_module_begin()
     add_submodule()
     set_description(N_("Direct3D9"))
     set_callback_dec_device( D3D9OpenDecoderDevice, 10 )
-    add_shortcut ("d3d9-device")
+    add_shortcut ("dxva2")
 vlc_module_end()
-- 
2.17.1



More information about the vlc-devel mailing list