diff options
author | wm4 <wm4@nowhere> | 2014-10-08 14:15:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-08 14:17:33 +0200 |
commit | 0ec5d35d57b57c68e93fc69f5fde9bbf3e19f50a (patch) | |
tree | fd2a88c64e19083b125ae88192d1c84b2591ad13 /DOCS/client-api-changes.rst | |
parent | ab5d58c3d9ea908667b1d1715660911e878f20d6 (diff) | |
download | mpv-0ec5d35d57b57c68e93fc69f5fde9bbf3e19f50a.tar.bz2 mpv-0ec5d35d57b57c68e93fc69f5fde9bbf3e19f50a.tar.xz |
client API: introduce numeric log levels
Maybe using strings for log levels was a mistake (too broad and too
impractical), so I'm adding numeric log level at least for the receiver
side. This makes it easier to map mpv log levels to other logging
systems.
I'm still too stingy to add a function to set the log level by a numeric
value, though.
The numeric values are not directly mapped to the internal mpv values,
because then almost every file in mpv would have to include the client
API header.
Coalesce this into API version 1.6, since 1.6 was bumped just yesterday.
Diffstat (limited to 'DOCS/client-api-changes.rst')
-rw-r--r-- | DOCS/client-api-changes.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst index 851f3e917c..8943855f13 100644 --- a/DOCS/client-api-changes.rst +++ b/DOCS/client-api-changes.rst @@ -27,6 +27,7 @@ API changes 1.6 - modify "core-idle" property behavior - MPV_EVENT_LOG_MESSAGE now always sends complete lines + - introduce numeric log levels (mpv_log_level) --- mpv 0.6.0 is released --- 1.5 - change in X11 and "--wid" behavior again. The previous change didn't work as expected, and now the behavior can be explicitly controlled |