mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vo_opengl: log some more stuff in verbose mode
This commit is contained in:
@@ -463,6 +463,8 @@ void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n),
|
|||||||
if (loaded[i])
|
if (loaded[i])
|
||||||
*funcptr = 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,
|
.gl_texture_target = GL_TEXTURE_2D,
|
||||||
.reject_emulated = is_auto,
|
.reject_emulated = is_auto,
|
||||||
};
|
};
|
||||||
|
mp_verbose(log, "Trying hwdec driver '%s'\n", drv->api_name);
|
||||||
if (hwdec->driver->create(hwdec) < 0) {
|
if (hwdec->driver->create(hwdec) < 0) {
|
||||||
talloc_free(hwdec);
|
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 NULL;
|
||||||
}
|
}
|
||||||
return hwdec;
|
return hwdec;
|
||||||
|
|||||||
Reference in New Issue
Block a user