[vlc-commits] input: add low-delay option
Francois Cartegnie
git at videolan.org
Thu Mar 7 17:29:31 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 28 14:24:32 2019 +0100| [179cfef04a0e3a25b8c03ea8971db654a567256f] | committer: Francois Cartegnie
input: add low-delay option
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=179cfef04a0e3a25b8c03ea8971db654a567256f
---
src/libvlc-module.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 9dc4a2c09f..c14dd1148a 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -633,6 +633,11 @@ static const char *const ppsz_prefres[] = {
N_("Very Low Definition (240 lines)"),
};
+#define INPUT_LOWDELAY_TEXT N_("Low delay mode")
+#define INPUT_LOWDELAY_LONGTEXT N_(\
+ "Try to minimize delay along decoding chain."\
+ "Might break with non compliant streams.")
+
#define INPUT_REPEAT_TEXT N_("Input repetitions")
#define INPUT_REPEAT_LONGTEXT N_( \
"Number of time the same input will be repeated")
@@ -1778,6 +1783,9 @@ vlc_module_begin ()
INPUT_PREFERREDRESOLUTION_LONGTEXT, false )
change_safe ()
change_integer_list( pi_prefres, ppsz_prefres )
+ add_bool( "low-delay", 0, INPUT_LOWDELAY_TEXT,
+ INPUT_LOWDELAY_LONGTEXT, true )
+ change_safe ()
set_section( N_( "Playback control" ) , NULL)
add_integer( "input-repeat", 0,
More information about the vlc-commits
mailing list