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

Lyndon Brown jnqnfe at gmail.com
Sat Sep 26 20:36:51 CEST 2020


attached. preview below.

forgot to include this with the others yesterday. sorry.


From: Lyndon Brown <jnqnfe at gmail.com>
Date: Fri, 22 Mar 2019 23:22:54 +0000
Subject: 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).

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()
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcp_opt.patch
Type: text/x-patch
Size: 1019 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200926/4e6c1846/attachment.bin>


More information about the vlc-devel mailing list