diff options
author | wm4 <wm4@nowhere> | 2013-09-07 20:03:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-07 20:34:49 +0200 |
commit | 8894a4b0d2b38781d9ab110a18e27fef99d956f1 (patch) | |
tree | d63a78e442d69b2acc9d5b9db67de144140ef283 /mpvcore/mp_core.h | |
parent | d77a9244346adadd283a48ee55adebd5f8e37478 (diff) | |
download | mpv-8894a4b0d2b38781d9ab110a18e27fef99d956f1.tar.bz2 mpv-8894a4b0d2b38781d9ab110a18e27fef99d956f1.tar.xz |
command: make options writeable in idle mode
Until now, options could be accessed as properties via "options/name",
but the access was read-only. Change it so that write access is possible
in --idle mode. (All options have to support setting options at that
time, simply because of the way MPlayer designed per-file options.
During playback, normal properties take care of changing things,
including things backed by options.)
This is work in progress. There are some issues: at least setting the
"vf" and "af" options won't work for strange reasons.
Diffstat (limited to 'mpvcore/mp_core.h')
-rw-r--r-- | mpvcore/mp_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/mp_core.h b/mpvcore/mp_core.h index 3bf2c8d6aa..6e601c88ba 100644 --- a/mpvcore/mp_core.h +++ b/mpvcore/mp_core.h @@ -31,6 +31,7 @@ #define INITIALIZED_AO 2 #define INITIALIZED_VOL 4 #define INITIALIZED_GETCH2 8 +#define INITIALIZED_PLAYBACK 16 #define INITIALIZED_STREAM 64 #define INITIALIZED_DEMUXER 512 #define INITIALIZED_ACODEC 1024 |