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

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


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sat Mar 23 04:02:07 2019 +0000| [43fc8b4e29b6360c4bd77d0cea7d499145d0cb54] | committer: Jean-Baptiste Kempf

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

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

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

 modules/codec/rav1e.c | 2 ++
 1 file changed, 2 insertions(+)

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-commits mailing list