[vlc-devel] [PATCH] src: allow changes to 'sub-text-scale' to be saved

Felix Paul Kühne fkuehne at videolan.org
Thu Aug 29 15:59:32 CEST 2019


From: Felix Paul Kühne <felix at feepk.net>

Previous versions of VLC had a default subtitles size in the freetype renderer which is gone for good, so promoting this global config variable allows setting a default for all again and therefore restores the previous behavior.
---
 src/libvlc-module.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index f5de78bcae..d3da4e5fb8 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1780,7 +1780,6 @@ vlc_module_begin ()
                  SUB_MARGIN_LONGTEXT, true )
     add_integer_with_range( "sub-text-scale", 100, 10, 500,
                SUB_TEXT_SCALE_TEXT, SUB_TEXT_SCALE_LONGTEXT, false )
-        change_volatile  ()
     set_section( N_( "Overlays" ) , NULL )
     add_module_list("sub-source", "sub source", NULL,
                     SUB_SOURCE_TEXT, SUB_SOURCE_LONGTEXT)
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list