diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-28 11:53:57 +0200 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2017-12-15 22:28:47 -0800 |
commit | ba1943ac00ed20a568270f8930811c1eac08f66a (patch) | |
tree | d3cd2e11c7bbb2d6e8c6f4eea08daa9d0d91107c /video/out/gpu/utils.c | |
parent | d744dca5379c0876cb5adef7ffa41c1bc95e8158 (diff) | |
download | mpv-ba1943ac00ed20a568270f8930811c1eac08f66a.tar.bz2 mpv-ba1943ac00ed20a568270f8930811c1eac08f66a.tar.xz |
msg: reinterpret a bunch of message levels
I've decided that MP_TRACE means “noisy spam per frame”, whereas
MP_DBG just means “more verbose debugging messages than MSGL_V”.
Basically, MSGL_DBG shouldn't create spam per frame like it currently
does, and MSGL_V should make sense to the end-user and provide mostly
additional informational output.
MP_DBG is basically what I want to make the new default for --log-file,
so the cut-off point for MP_DBG is if we probably want to know if for
debugging purposes but the user most likely doesn't care about on the
terminal.
Also, the debug callbacks for libass and ffmpeg got bumped in their
verbosity levels slightly, because being external components they're a
bit less relevant to mpv debugging, and a bit too over-eager in what
they consider to be relevant information.
I exclusively used the "try it on my machine and remove messages from
MSGL_* until it does what I want it to" approach of refactoring, so
YMMV.
Diffstat (limited to 'video/out/gpu/utils.c')
-rw-r--r-- | video/out/gpu/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/utils.c b/video/out/gpu/utils.c index 6a2abae1b2..078a31c895 100644 --- a/video/out/gpu/utils.c +++ b/video/out/gpu/utils.c @@ -181,7 +181,7 @@ bool ra_tex_resize(struct ra *ra, struct mp_log *log, struct ra_tex **tex, return true; } - mp_verbose(log, "Resizing texture: %dx%d\n", w, h); + mp_dbg(log, "Resizing texture: %dx%d\n", w, h); if (!fmt || !fmt->renderable || !fmt->linear_filter) { mp_err(log, "Format %s not supported.\n", fmt ? fmt->name : "(unset)"); |