mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
pluginloader: Print Python library path that is tried to be loaded
This commit is contained in:
parent
2dd3bb0cb7
commit
3517f37b65
1 changed files with 4 additions and 4 deletions
|
@ -229,10 +229,10 @@ plugin_init (GstPlugin * plugin)
|
|||
"_Py_NoneStruct", &has_python) && has_python) {
|
||||
GST_LOG ("libpython is already loaded");
|
||||
} else {
|
||||
GST_LOG ("loading libpython");
|
||||
libpython =
|
||||
g_module_open (PY_LIB_LOC "/libpython" PYTHON_VERSION PY_ABI_FLAGS
|
||||
"." PY_LIB_SUFFIX, 0);
|
||||
const gchar *libpython_path =
|
||||
PY_LIB_LOC "/libpython" PYTHON_VERSION PY_ABI_FLAGS "." PY_LIB_SUFFIX;
|
||||
GST_LOG ("loading libpython from '%s'", libpython_path);
|
||||
libpython = g_module_open (libpython_path, 0);
|
||||
if (!libpython) {
|
||||
g_critical ("Couldn't g_module_open libpython. Reason: %s",
|
||||
g_module_error ());
|
||||
|
|
Loading…
Reference in a new issue