mpv/common
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
..
av_common.c vd_lavc: request 1 more threads than CPU cores 2015-03-05 12:55:54 +01:00
av_common.h player: print used number of threads in verbose mode 2015-01-05 12:17:55 +01:00
av_log.c av_log: skip prefix if unknown 2015-06-20 17:02:56 +02:00
av_log.h
codecs.c audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
codecs.h audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
common.c x11: query ICC profile based on center of window 2015-04-29 14:01:27 +02:00
common.h x11: query ICC profile based on center of window 2015-04-29 14:01:27 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode_lavc.c Update license headers 2015-04-13 12:10:01 +02:00
encode_lavc.h Update license headers 2015-04-13 12:10:01 +02:00
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg.c client API: allow using msg-level option for log messages 2015-06-20 21:40:47 +02:00
msg.h Update license headers 2015-04-13 12:10:01 +02:00
msg_control.h client API: allow using msg-level option for log messages 2015-06-20 21:40:47 +02:00
playlist.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
playlist.h Update license headers 2015-04-13 12:10:01 +02:00
tags.c player: don't set tag strings to NULL 2015-01-12 14:33:56 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c Update license headers 2015-04-13 12:10:01 +02:00