diff options
author | wm4 <wm4@nowhere> | 2015-05-30 21:25:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-30 21:25:28 +0200 |
commit | 31704730036c7b51cffc48b4a2b2fd9e2b269693 (patch) | |
tree | 5298a5e92650e8e5072e93ef25469b450e7288ef /video/out | |
parent | a3f7b38cbc22f9eabdcc494deae7a4ab8b1add67 (diff) | |
download | mpv-31704730036c7b51cffc48b4a2b2fd9e2b269693.tar.bz2 mpv-31704730036c7b51cffc48b4a2b2fd9e2b269693.tar.xz |
vo_opengl: output slightly more debugging info on backend probing
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/gl_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 2937b6cf4e..4a95480839 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -596,12 +596,14 @@ static MPGLContext *init_backend(struct vo *vo, const struct backend *backend, bool old_probing = vo->probing; vo->probing = probing; // hack; kill it once backends are separate if (ctx->driver) { + MP_VERBOSE(vo, "Initializing OpenGL backend '%s'\n", ctx->driver->name); ctx->priv = talloc_zero_size(ctx, ctx->driver->priv_size); if (ctx->driver->init(ctx, vo_flags) < 0) { talloc_free(ctx); return NULL; } } else { + MP_VERBOSE(vo, "Initializing OpenGL backend '%s'\n", backend->name); backend->init(ctx); if (!ctx->vo_init(vo)) { talloc_free(ctx); |