From cc51dafa9632fa9f4f8dd6902f3cfd5a5d628ac7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Jul 2015 15:12:42 +0200 Subject: vo_opengl: log some more stuff in verbose mode --- video/out/gl_common.c | 2 ++ video/out/gl_hwdec.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 63078a1e00..5560fe07e0 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -463,6 +463,8 @@ void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n), if (loaded[i]) *funcptr = loaded[i]; } + mp_verbose(log, "Loaded functions for %d/%s.\n", ver_core, + section->extension ? section->extension : "builtin"); } } diff --git a/video/out/gl_hwdec.c b/video/out/gl_hwdec.c index 678ff184df..1d09177cf7 100644 --- a/video/out/gl_hwdec.c +++ b/video/out/gl_hwdec.c @@ -58,9 +58,10 @@ static struct gl_hwdec *load_hwdec_driver(struct mp_log *log, GL *gl, .gl_texture_target = GL_TEXTURE_2D, .reject_emulated = is_auto, }; + mp_verbose(log, "Trying hwdec driver '%s'\n", drv->api_name); if (hwdec->driver->create(hwdec) < 0) { talloc_free(hwdec); - mp_verbose(log, "Couldn't load hwdec driver '%s'\n", drv->api_name); + mp_verbose(log, "Loading failed.\n"); return NULL; } return hwdec; -- cgit v1.2.3