mpv/input
wm4 761975d47b command: fix loadfile command
This was broken by commit bb6b543812. Note that the original pull
request was fine, but it was broken by my own stupidity when I was
"improving" it.

The problem is that the new loadfile argument was not considered
optional anymore after my changes. The original pull request did handle
this by setting .defval to a dummy value, but I removed that part.

Fix it again by introducing a flag that designates that the parameter is
optional. (I didn't want to add it to m_option.h, because technically,
all options are optional, and it's not possible to have non-optional
options.)
2014-02-24 23:02:20 +01:00
..
cmd_list.c command: fix loadfile command 2014-02-24 23:02:20 +01:00
cmd_list.h command: fix loadfile command 2014-02-24 23:02:20 +01:00
cmd_parse.c command: fix loadfile command 2014-02-24 23:02:20 +01:00
cmd_parse.h input: split off some code from input.c to separate files 2013-12-26 17:13:25 +01:00
event.c input: change mp_input_run_cmd signature 2014-01-04 19:42:16 +01:00
event.h video/out: remove some code duplication between X11 and wayland 2014-01-04 19:33:40 +01:00
input.c input: check for abort cmd in multi-commands 2014-02-20 13:40:32 +01:00
input.h command: provide per-file-options for loadfile command 2014-02-23 17:49:34 +01:00
joystick.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
joystick.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
keycodes.c keycodes: add const to a function argument 2014-02-17 02:52:58 +01:00
keycodes.h keycodes: add const to a function argument 2014-02-17 02:52:58 +01:00
lirc.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
lirc.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00