summaryrefslogtreecommitdiffstats
path: root/DOCS/tech
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-18 08:02:48 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-18 11:59:09 +0200
commitb9a3579ec980dfb01d0b952bf0b859ecdf62d7ea (patch)
tree9f90d981a92bb6cfb79e5feed1b3b9bfde9ab3b0 /DOCS/tech
parent7e366113f75c696ae2b32f5faa5f80ec3fca96b8 (diff)
downloadmpv-b9a3579ec980dfb01d0b952bf0b859ecdf62d7ea.tar.bz2
mpv-b9a3579ec980dfb01d0b952bf0b859ecdf62d7ea.tar.xz
commands: add generic option -> property wrapper
Add mp_property_generic_option(), a property function that can be used for generic option-based properties that do not require any action beyond manipulating the value of the option variable. Currently it directly implements GET and SET, plus STEP_UP for "choice" options only. Use it to add a property for -pts-association-mode (not particularly useful in normal use, but serves as a test).
Diffstat (limited to 'DOCS/tech')
-rw-r--r--DOCS/tech/slave.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt
index e923232689..be0ebf9937 100644
--- a/DOCS/tech/slave.txt
+++ b/DOCS/tech/slave.txt
@@ -513,6 +513,7 @@ name type min max get set step comment
osdlevel int 0 3 X X X as -osdlevel
speed float 0.01 100 X X X as -speed
loop int -1 X X X as -loop
+pts_association_mode string X X X as -pts-association-mode
pause flag 0 1 X 1 if paused, use with pausing_keep_force
filename string X file playing wo path
path string X file playing