summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-21 16:19:56 +0200
committerwm4 <wm4@nowhere>2016-09-21 17:35:00 +0200
commit7783f0b7d7037e2420deece510b8315cfe3b8e91 (patch)
tree5d6aab943915187e36a6fb8488b4798feb9ace3c /DOCS/interface-changes.rst
parent75d12c174f0b5bb03c71872241f965ac674221d7 (diff)
downloadmpv-7783f0b7d7037e2420deece510b8315cfe3b8e91.tar.bz2
mpv-7783f0b7d7037e2420deece510b8315cfe3b8e91.tar.xz
client API: more or less deprecate mpv_set_option()
With the merging of options and properties, the mpv_set_option() function is close to being useless, and mpv_set_property() can be used for everything instead. There are certain conflicts remaining, which are explained in depth in the docs. For now, none of this should affect existing code using the client API. Make mpv_set_property() redirect to mpv_set_option() before initialization. Remove some options marked as M_OPT_FIXED. The "pause" and "speed" options cannot be written anymore without the playloop being notified by it, so the M_OPT_FIXED does nothing. For "vo-mmcss-profile", the problem was lack of synchronization, which has been added. I'm not sure what the problem was with "frames" - I think it was only marked as M_OPT_FIXED because changing it during playback will have no effect. Except for pause/speed, these changes are needed to make them writable as properties after mpv_initialize(). Also replace all remaining uses of CONF_GLOBAL with M_OPT_FIXED.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index ae0d23a884..d32203ccb5 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -58,7 +58,7 @@ Interface changes
- "fps" -> "container-fps"
- "idle" -> "idle-active"
- "cache" -> "cache-percent"
- the old names are deprecated
+ the old names are deprecated and will change behavior in mpv 0.22.0.
- remove deprecated "hwdec-active" and "hwdec-detected" properties
- deprecate the ao and vo auto-profiles (they never made any sense)
- deprecate "--vo=direct3d_shaders" - use "--vo=direct3d" instead.