[vlc-devel] [vlc-commits] input: add low-delay option
Rémi Denis-Courmont
remi at remlab.net
Tue Mar 12 17:46:05 CET 2019
Le torstaina 7. maaliskuuta 2019, 18.29.31 EET Francois Cartegnie a écrit :
> 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=179cfef04a0e3a25b8c
> > 03ea8971db654a567256f
> ---
>
> 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.")
Typo. And there's no such thing as a "decoding chain" in VLC.
> +
> #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,
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list