1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
mpv/video
wm4 dc48893630 options: simplify M_OPT_EXIT
There were multiple values under M_OPT_EXIT (M_OPT_EXIT-n for n>=0).
Somehow M_OPT_EXIT-n either meant error code n (with n==0 no error?), or
the number of option valus consumed (0 or 1). The latter is MPlayer
legacy, which left it to the option type parsers to determine whether an
option took a value or not. All of this was changed in mpv, by requiring
the user to use explicit syntax ("--opt=val" instead of "-opt val").

In any case, the n value wasn't even used (anymore), so rip this all
out. Now M_OPT_EXIT-1 doesn't mean anything, and could be used by a new
error code.
2016-09-17 18:07:40 +02:00
..
decode hwdec_cuda: Rename config variable to be more consistent 2016-09-16 14:26:30 +02:00
filter m_config: add helper function for initializing af/ao/vf/vo suboptions 2016-09-02 14:49:34 +02:00
out options: simplify M_OPT_EXIT 2016-09-17 18:07:40 +02:00
csputils.c csp: document deviations from the references where they occur 2016-07-05 19:16:49 +02:00
csputils.h vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00
fmt-conversion.c hwdec_cuda: Rename config variable to be more consistent 2016-09-16 14:26:30 +02:00
fmt-conversion.h
gpu_memcpy.c
gpu_memcpy.h
hwdec.c
hwdec.h hwdec_cuda: Add trivial cuda-copy wrapper 2016-09-11 10:46:22 +02:00
image_writer.c vo_image: move to global options 2016-09-05 21:04:55 +02:00
image_writer.h vo_image: move to global options 2016-09-05 21:04:55 +02:00
img_format.c
img_format.h hwdec/opengl: Add support for CUDA and cuvid/NvDecode 2016-09-08 16:06:12 +02:00
img_fourcc.h
mp_image_pool.c
mp_image_pool.h
mp_image.c video: change hw_subfmt meaning 2016-07-15 13:04:17 +02:00
mp_image.h video: change hw_subfmt meaning 2016-07-15 13:04:17 +02:00
sws_utils.c
sws_utils.h
vaapi.c video: change hw_subfmt meaning 2016-07-15 13:04:17 +02:00
vaapi.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c
vdpau.h