summaryrefslogtreecommitdiffstats
path: root/mplayer.c
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 /mplayer.c
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 'mplayer.c')
0 files changed, 0 insertions, 0 deletions