[vlc-devel] [PATCH 3/8] mosaic_bridge: fix options being hidden in GUI

Lyndon Brown jnqnfe at gmail.com
Sat Sep 26 00:31:17 CEST 2020


From: Lyndon Brown <jnqnfe at gmail.com>
Date: Sun, 7 Apr 2019 02:56:21 +0100
Subject: mosaic_bridge: fix options being hidden in GUI

not having a cat+subcat specified means that the options were ignored
when constructing the preferences tree in Qt (and possibly others).

diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index eda165b00c..5171474320 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -143,6 +143,9 @@ vlc_module_begin ()
     set_capability( "sout output", 0 )
     add_shortcut( "mosaic-bridge" )
 
+    set_category( CAT_SOUT )
+    set_subcategory( SUBCAT_SOUT_STREAM )
+
     add_string( CFG_PREFIX "id", "Id", ID_TEXT, ID_LONGTEXT,
                 false )
     add_integer( CFG_PREFIX "width", 0, WIDTH_TEXT,



More information about the vlc-devel mailing list