[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: qt: hardcode the name of the shortcut for the AMD VQ Enhancer

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jul 5 04:18:41 UTC 2024



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
34f5c02a by Steve Lhomme at 2024-07-03T14:13:48+02:00
qt: hardcode the name of the shortcut for the AMD VQ Enhancer

Otherwise the name is the same of the DLL which doesn't correspond to
the shortcut we need to use.

Fixes #28691

- - - - -
cdc04a5e by Hugo Beauzée-Luyssen at 2024-07-03T14:13:56+02:00
npapi: Fix warning during autoreconf

extras/package/npapi.am:34: warning: ':='-style assignments are not portable
Makefile.am:219:   'extras/package/win32/package.mak' included from here
extras/package/win32/package.mak:13:   'extras/package/npapi.am' included from here

(cherry picked from commit ac33d9ee07c343cc3bc963a19689aa808f676b31)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

- - - - -


2 changed files:

- extras/package/npapi.am
- modules/gui/qt/components/preferences_widgets.cpp


Changes:

=====================================
extras/package/npapi.am
=====================================
@@ -31,7 +31,7 @@ npapi-vlc/configure: stamp-npapi
 	touch $@
 
 if ENABLE_PDB
-ENABLE_PDB_OPTION := --enable-pdb
+ENABLE_PDB_OPTION = --enable-pdb
 endif
 
 npapi-vlc/Makefile: npapi-vlc/configure


=====================================
modules/gui/qt/components/preferences_widgets.cpp
=====================================
@@ -632,9 +632,15 @@ ModuleListConfigControl::~ModuleListConfigControl()
 void ModuleListConfigControl::checkbox_lists( module_t *p_parser )
 {
     const char *help = module_get_help( p_parser );
-    checkbox_lists( qtr( module_GetLongName( p_parser ) ),
+    const char *module_name = module_GetLongName( p_parser );
+    const char *module_shortcut = module_get_object( p_parser );
+
+    if ( !strcmp(module_name, "AMD VQ Enhancer"))
+        module_shortcut = "amf_vqenhancer";
+
+    checkbox_lists( qtr( module_name ),
                     help != NULL ? qtr( help ): "",
-                    module_get_object( p_parser ) );
+                    module_shortcut );
 }
 
 void ModuleListConfigControl::checkbox_lists( QString label, QString help, const char* psz_module )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/29ac334929847727e4041ba8d1aa3cb36c6be299...cdc04a5e1e16fcfe3120693ff0fd945ea42a6dae

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/29ac334929847727e4041ba8d1aa3cb36c6be299...cdc04a5e1e16fcfe3120693ff0fd945ea42a6dae
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list