mirror of https://github.com/mpv-player/mpv
vo_opengl: log some more stuff in verbose mode
This commit is contained in:
parent
5446637e99
commit
cc51dafa96
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue