1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/player
wm4 b8193e4071 command: add all options to property->option bridge
Before this, options with co->data==NULL (i.e. no storage) were not
added to the bridge (except alias options). There are a few options
which might make sense to allow via the bridge ("profile" and
"include"). So allow them.

In command_init(), we merely remove the co->data check, the rest of the
diff is due to switching the if/else branches for convenience.

We also must explicitly error on M_PROPERTY_GET if co->data==NULL. All
other cases check it in some way.

Explicitly exclude options from the property bridge, which would be
added due this, and the result would be pointless.
2017-06-15 15:29:54 +02:00
..
javascript js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
lua ytdl_hook: don't override start time set by saved state 2017-06-09 11:13:24 +01:00
audio.c audio: replace from_dB function 2017-05-05 01:22:06 +02:00
client.c Fix use of ISC license 2017-04-15 16:20:00 +02:00
client.h client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
command.c command: add all options to property->option bridge 2017-06-15 15:29:54 +02:00
command.h player: fix core-idle and eof-reached update notifcations 2017-04-14 18:58:48 +02:00
configfiles.c options: another missed --sub-ass-style-override use 2017-06-07 20:43:59 +02:00
core.h player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
external_files.c external_files: parse ~ in --{sub,audio}-paths 2017-05-31 13:10:34 +01:00
external_files.h
javascript.c js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
lavfi.c lavfi: temporary workaround for FFmpeg av_buffersrc_parameters_set() bug 2017-02-22 10:43:35 +01:00
lavfi.h lavfi: support hwdec filters for --lavfi-complex 2017-02-20 13:42:08 +01:00
loadfile.c player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
lua.c scripting: expand --script filename for C plugins 2017-06-09 19:42:12 +02:00
main.c player: make sure version information is always included in --log-file 2017-05-22 18:31:39 +02:00
misc.c player: remove --stream-capture option/property 2017-01-21 17:19:01 +01:00
osd.c player: different way to auto-enable the demuxer cache 2017-02-02 18:38:16 +01:00
playloop.c player: fix a corner case in previous commit 2017-04-14 19:06:31 +02:00
screenshot.c screenshot: cleanup: use normal MSGL_ defines 2017-04-01 20:47:36 +02:00
screenshot.h player: make screenshot commands honor the async flag 2017-04-01 20:47:23 +02:00
scripting.c js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
sub.c player: enable no-video subtitle display on coverart too 2016-10-31 13:55:32 +01:00
video.c vo.c, vo.h, vo_null.c: change license to LGPL 2017-05-10 15:06:20 +02:00