[vlc-devel] [PATCH 6/8] rav1e: fix options being hidden in GUI

Lyndon Brown jnqnfe at gmail.com
Sat Sep 26 00:32:42 CEST 2020


From: Lyndon Brown <jnqnfe at gmail.com>
Date: Sat, 23 Mar 2019 04:02:07 +0000
Subject: rav1e: 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/codec/rav1e.c b/modules/codec/rav1e.c
index 5e6df303bc..42c6aecde7 100644
--- a/modules/codec/rav1e.c
+++ b/modules/codec/rav1e.c
@@ -295,6 +295,8 @@ vlc_module_begin()
     set_description(N_("rav1e video encoder"))
     set_capability("encoder", 101)
     set_callbacks(OpenEncoder, CloseEncoder)
+    set_category(CAT_INPUT)
+    set_subcategory(SUBCAT_INPUT_VCODEC)
     add_integer(SOUT_CFG_PREFIX "profile", 0, "Profile", NULL, true)
         change_integer_range(0, 3)
     add_integer(SOUT_CFG_PREFIX "bitdepth", 8, "Bit Depth", NULL, true)



More information about the vlc-devel mailing list