summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-03 15:12:42 +0200
committerwm4 <wm4@nowhere>2015-07-03 15:12:42 +0200
commitcc51dafa9632fa9f4f8dd6902f3cfd5a5d628ac7 (patch)
treef2665d0ccff352ed20e0cc86e55fad52a38226da
parent5446637e99c17e91d63f2dee54dcff40f218b080 (diff)
downloadmpv-cc51dafa9632fa9f4f8dd6902f3cfd5a5d628ac7.tar.bz2
mpv-cc51dafa9632fa9f4f8dd6902f3cfd5a5d628ac7.tar.xz
vo_opengl: log some more stuff in verbose mode
-rw-r--r--video/out/gl_common.c2
-rw-r--r--video/out/gl_hwdec.c3
2 files changed, 4 insertions, 1 deletions
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;