mpv/player
wm4 986e10901d command: avoid going through prop->opt bridge from opt->prop bridge
The option->property bridge can't (and shouldn't) preserve option flags.
This is a problem if the flags are actually used by the option
implementation, beyond calling m_config_mark_co_flags().

This was true so far, but b8193e4071 changed this. Now setting the
--profile option (usually from a config file or as recursive profile)
can have side-effects that depend on the flags contents. Solve this by
avoiding going through the "double bridge" altogether.

This fixes a regression if an auto-profile is active, and the user
specifies an option on the command line that is supposed to override an
item in a profile recursively referenced by the auto-profile. The
command line option will not override it, because the auto-profile is
set later, and during application of the auto-profile, the
M_SETOPT_PRESERVE_CMDLINE flag gets lost.

Having to add something to m_property is not nice, and I'll probbaly
regret later. On the other hand, there is a chance that this helps
towards true option/property unification.
2017-06-16 21:31:24 +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: avoid going through prop->opt bridge from opt->prop bridge 2017-06-16 21:31:24 +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 player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
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