[vlc-commits] svg: fix option categorisation

Lyndon Brown git at videolan.org
Fri Sep 18 19:37:16 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Thu Apr 18 20:59:03 2019 +0100| [73e00de604c85b82b0fd9d5e974572300ea4fb4b] | committer: Rémi Denis-Courmont

svg: fix option categorisation

fixes problem of option not being shown in GUI

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/text_renderer/svg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/svg.c b/modules/text_renderer/svg.c
index 5f1a9c62e2..f97c5fa3bf 100644
--- a/modules/text_renderer/svg.c
+++ b/modules/text_renderer/svg.c
@@ -72,7 +72,7 @@ typedef struct
 
 vlc_module_begin ()
     set_category( CAT_INPUT )
-    set_category( SUBCAT_INPUT_SCODEC )
+    set_subcategory( SUBCAT_INPUT_SCODEC )
     set_capability( "text renderer", 99 )
     add_shortcut( "svg" )
     add_string( "svg-template-file", "", TEMPLATE_TEXT, TEMPLATE_LONGTEXT, true )



More information about the vlc-commits mailing list