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

Lyndon Brown git at videolan.org
Sat Sep 26 09:28:18 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Fri Apr 26 02:22:43 2019 +0100| [90e1fe40dad7317426ffe980e8a05c8590984ed7] | committer: Jean-Baptiste Kempf

chromaprint: 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).

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

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

 modules/stream_out/chromaprint.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/stream_out/chromaprint.c b/modules/stream_out/chromaprint.c
index 8ae33881f9..6b9e029cfa 100644
--- a/modules/stream_out/chromaprint.c
+++ b/modules/stream_out/chromaprint.c
@@ -60,6 +60,8 @@ vlc_module_begin ()
     set_description( N_("Chromaprint stream output") )
     set_capability( "sout output", 0 )
     add_shortcut( "chromaprint" )
+    set_category( CAT_SOUT )
+    set_subcategory( SUBCAT_SOUT_STREAM )
     add_integer( "duration", 90, DURATION_TEXT, DURATION_LONGTEXT, true )
     set_callbacks( Open, Close )
 vlc_module_end ()



More information about the vlc-commits mailing list