mpv/player
wm4 23289a452f command: fix unintended reset of filters
Since the recent option changes (probably b16cea750f), using the "vf"
or "af" commands to change the filter chain did not write the option
value correctly. This led to the option value being reset the next time
an option changed.

This happened because the new option value was not copied to the
m_config_cache's internal storage. So on the next option update, it
looked like the option value changed, because the user-side value was
different from the internal value. It was copied back, which meant the
original option value was reinstated, and the previous "vf"/"af" command
was undone.

Fix this by using the correct way to store the option value. This also
takes care of property change notification (because the function is
specifically separate from m_config_cache_write_opt() to do that), so
remove the old call.

Fixes: #7220
2019-12-06 19:27:45 +01:00
..
javascript js: mp.add_key_binding: allow false-y name (match 311cc5b) 2019-11-30 12:23:47 +02:00
lua osc: rework window control configuration to add auto mode 2019-12-04 09:32:25 +08:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c player: remove mechanisms for better logging with repl.lua 2019-11-18 00:44:54 +01:00
client.h client API: remove unused global event mask 2019-10-24 16:27:24 +02:00
command.c command: fix unintended reset of filters 2019-12-06 19:27:45 +01:00
command.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
configfiles.c player: Optionally validate st_mtime when restoring playback state 2019-11-20 15:11:33 +01:00
core.h command: shuffle some crap around 2019-11-25 00:26:36 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: don't pre-filter log level argument in mp.enable_messages() 2019-11-19 18:13:39 +02:00
loadfile.c player: loadfile overrides previous stop command 2019-12-06 19:21:14 +01:00
lua.c lua: don't pre-filter log level argument in mp.enable_messages() 2019-11-18 00:44:54 +01:00
main.c player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
misc.c player: simplify --stream-dump code 2019-10-31 11:05:55 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c options: move cursor autohiding opts to mp_vo_opts 2019-12-04 00:47:05 +00:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c scripting: change when/how player waits for scripts being loaded 2018-04-18 01:17:41 +03:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: don't apply weird timestamp tolerance on backstep 2019-12-03 21:43:32 +01:00