mpv/audio
wm4 8d965a1bfb options: change how option range min/max is handled
Before this commit, option declarations used M_OPT_MIN/M_OPT_MAX (and
some other identifiers based on these) to signal whether an option had
min/max values. Remove these flags, and make it use a range implicitly
on the condition if min<max is true.

This requires care in all cases when only M_OPT_MIN or M_OPT_MAX were
set (instead of both). Generally, the commit replaces all these
instances with using DBL_MAX/DBL_MIN for the "unset" part of the range.

This also happens to fix some cases where you could pass over-large
values to integer options, which were silently truncated, but now cause
an error.

This commit has some higher potential for regressions.
2020-03-13 17:34:46 +01:00
..
decode ad_lavc: disable decoder downmix by default 2020-02-29 22:08:38 +01:00
filter options: change how option range min/max is handled 2020-03-13 17:34:46 +01:00
out options: change how option range min/max is handled 2020-03-13 17:34:46 +01:00
aframe.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
aframe.h Implement backwards playback 2019-09-19 20:37:04 +02:00
audio_buffer.c audio_buffer: fix some more theoretical UB 2019-09-19 20:37:05 +02:00
audio_buffer.h audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
chmap.c chmap: remove misleading "downmix" channel layout name 2017-06-24 11:36:10 +02:00
chmap.h player: remove special-case for DL/DR speakers 2016-08-04 19:14:35 +02:00
chmap_sel.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
chmap_sel.h audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
fmt-conversion.c audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00
fmt-conversion.h audio/fmt-conversion: change license to LGPL 2017-05-05 07:25:55 +02:00
format.c audio: fix copy&paste error 2019-09-27 21:31:04 +02:00
format.h audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00