diff options
author | wm4 <wm4@nowhere> | 2013-05-18 12:56:22 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-18 17:45:55 +0200 |
commit | 58cc0f637f13d2eeeeb3c24aed4b72fc02a4cbc7 (patch) | |
tree | bd7d8844a73d647902b72b5a1c2fd5a998e9617d /core/input/input.h | |
parent | 3e6ec6dfa551740c4d52ede83a0cacba3ab59532 (diff) | |
download | mpv-58cc0f637f13d2eeeeb3c24aed4b72fc02a4cbc7.tar.bz2 mpv-58cc0f637f13d2eeeeb3c24aed4b72fc02a4cbc7.tar.xz |
input: do property expansion for all input command string arguments
Also add a "raw" prefix for commands, which prevents property expansion.
The idea is that if the commands are generated by a program, it doesn't
have to know whether the command expands properties or not.
Diffstat (limited to 'core/input/input.h')
-rw-r--r-- | core/input/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input/input.h b/core/input/input.h index 12823dd004..e09e080db1 100644 --- a/core/input/input.h +++ b/core/input/input.h @@ -137,6 +137,7 @@ typedef struct mp_cmd { struct mp_cmd_arg args[MP_CMD_MAX_ARGS]; int nargs; int pausing; + bool raw_args; enum mp_on_osd on_osd; bstr original; struct mp_cmd *queue_next; |