diff options
author | wm4 <wm4@nowhere> | 2013-09-20 22:53:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-20 23:09:43 +0200 |
commit | f988c6300344492c4a8d8db11c47a4ebed4e858b (patch) | |
tree | c4cda2ccf8f4861cc633d9a0fdef84f7af0b6080 /LICENSE | |
parent | ab706f996908bf7de3774f36af70ed485e1a0eb9 (diff) | |
download | mpv-f988c6300344492c4a8d8db11c47a4ebed4e858b.tar.bz2 mpv-f988c6300344492c4a8d8db11c47a4ebed4e858b.tar.xz |
m_property: add a way to switch on property values in property expansion
Allows for example: --status-msg='${?pause==yes:(Paused) } ...' to
emulate the normal terminal status line. It's useful in other situations
too.
I'm a bit worried about extending this mini-DSL, and sure hope nobody
will implement a generic formula evaluator at some point in the future.
But for now we're probably safe.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions