mpv/player
wm4 23b83c6676 client API: allow using msg-level option for log messages
Client API users can enable log output with mpv_request_log_messages().
But you can enable only a single log level. This is normally enough, but
the --msg-level option (which controls the terminal log level) provides
more flexibility. Due to internal complexity, it would be hard to
provide the same flexibility for each client API handle. But there's a
simple way to achieve basically the same thing: add an option that sends
log messages to the API handle, which would also be printed to the
terminal as by --msg-level.

The only change is that we don't disable this logic if the terminal is
disabled. Instead we check for this before the message is output, which
in theory can lower performance if messages are being spammed. It could
be handled with some more effort, but the gain would be negligible.
2015-06-20 21:40:47 +02:00
..
lua osc: time display configuration options 2015-06-19 21:33:44 +02:00
audio.c audio: add some change notifications 2015-06-09 18:29:11 +02:00
client.c client API: allow using msg-level option for log messages 2015-06-20 21:40:47 +02:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c command: do not exit playback if the B point of A-B loop is past EOF 2015-06-16 23:11:14 +02:00
command.h command: do not exit playback if the B point of A-B loop is past EOF 2015-06-16 23:11:14 +02:00
configfiles.c player: restore video-aspect on playback resume 2015-05-29 22:34:24 +02:00
core.h player: print a message along with track list 2015-06-03 21:50:37 +02:00
discnav.c command: disc-mouse-on-button property 2015-04-21 00:54:29 +09:00
loadfile.c client API: add MPV_END_FILE_REASON_REDIRECT 2015-06-11 21:42:09 +02:00
lua.c lua: support MPV_END_FILE_REASON_REDIRECT 2015-06-11 21:42:09 +02:00
main.c audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
misc.c Update license headers 2015-04-13 12:10:01 +02:00
osd.c video: do not use MP_NOPTS_VALUE for A/V difference 2015-05-24 23:27:23 +02:00
playloop.c player: add some debug output for seeking 2015-06-18 22:31:55 +02:00
screenshot.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c Update license headers 2015-04-13 12:10:01 +02:00
video.c player: add some debug output for seeking 2015-06-18 22:31:55 +02:00