[vlc-devel] [PATCH 0/6] command-line/config-chain: respect variable ranges
Filip Roséen
filip at atch.se
Wed Oct 12 19:39:32 CEST 2016
These patches are all related to have variables with ranges are handled when
created through the command-line, or during config-chain parsing.
In short, the below tickets are fixed:
- https://trac.videolan.org/vlc/ticket/17430
- https://trac.videolan.org/vlc/ticket/17431
It should however be noted that the changes in these patch also fixes
modules that have been written under the assumption that their
specified variable ranges are honored (in such a way that they cannot
receive values outside of the specified range).
I found it hard to come up with some suitable ascii-art that is
related to variables, so below is some sort of dancing bear/bunny
hybrid.
(') (')
(o.o)
,-( )-'
(")-(")
Filip Roséen (6):
vlc_variables: add VLC_VAR_SETMINMAX
access/v4l2: use VLC_VAR_SETMINMAX
modules/entry: specify default range for floats
config/chain: only create variable if it does not exists
config/chain: respect ranges when creating variables
config/cmdline: respect ranges when creating variables
include/vlc_variables.h | 1 +
modules/access/v4l2/controls.c | 28 ++++++++++++----------------
src/config/chain.c | 31 ++++++++++++++++++++++++++++---
src/config/cmdline.c | 6 ++++++
src/misc/variables.c | 19 +++++++++++++++++++
src/modules/entry.c | 6 ++++++
6 files changed, 72 insertions(+), 19 deletions(-)
--
2.10.0
More information about the vlc-devel
mailing list