[vlc-commits] dcp: fix options being hidden in GUI

Lyndon Brown git at videolan.org
Sun Sep 27 15:45:30 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Fri Mar 22 23:22:54 2019 +0000| [92654192d6c912a0448016d397d87be39aa95fdb] | committer: Jean-Baptiste Kempf

dcp: fix options being hidden in GUI

options need to be specified after the cat+subcat declarations otherwise
they may be ignored when constructing the preferences tree in Qt (and
possibly others).

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92654192d6c912a0448016d397d87be39aa95fdb
---

 modules/access/dcp/dcp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dcp/dcp.cpp b/modules/access/dcp/dcp.cpp
index ae8b08b34a..093be530fd 100644
--- a/modules/access/dcp/dcp.cpp
+++ b/modules/access/dcp/dcp.cpp
@@ -76,11 +76,11 @@ static void Close( vlc_object_t * );
 vlc_module_begin()
     set_shortname( N_( "DCP" ) )
     add_shortcut( "dcp" )
-    add_loadfile("kdm", "", KDM_HELP_TEXT, KDM_HELP_LONG_TEXT)
     set_description( N_( "Digital Cinema Package module" ) )
     set_capability( "access", 0 )
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_ACCESS )
+    add_loadfile("kdm", "", KDM_HELP_TEXT, KDM_HELP_LONG_TEXT)
     set_callbacks( Open, Close )
 vlc_module_end()
 



More information about the vlc-commits mailing list