[vlc-devel] [PATCH v3 08/14] nvdec: rename the decoder device to "nvdec"

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


This is easier to set by users than "nvdec-device".
---
 modules/hw/nvdec/nvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/nvdec/nvdec.c b/modules/hw/nvdec/nvdec.c
index 19b45e25297..0e7c7844879 100644
--- a/modules/hw/nvdec/nvdec.c
+++ b/modules/hw/nvdec/nvdec.c
@@ -67,7 +67,7 @@ vlc_module_begin ()
     set_callbacks(OpenDecoder, CloseDecoder)
     add_submodule()
         set_callback_dec_device(DecoderContextOpen, 3)
-        add_shortcut("nvdec-device")
+        add_shortcut("nvdec")
 vlc_module_end ()
 
 /* */
-- 
2.17.1



More information about the vlc-devel mailing list