[vlc-devel] [PATCH 5/8] chromaprint: fix options being hidden in GUI
Lyndon Brown
jnqnfe at gmail.com
Sat Sep 26 00:32:14 CEST 2020
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Fri, 26 Apr 2019 02:22:43 +0100
Subject: 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).
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-devel
mailing list