Commit d437fde6 authored by David I. Lehn's avatar David I. Lehn
Browse files

load resample lib at runtime

Original commit message from CVS:
* load resample lib at runtime
parent aefd225f
...@@ -348,6 +348,13 @@ plugin_init (GModule *module, GstPlugin *plugin) ...@@ -348,6 +348,13 @@ plugin_init (GModule *module, GstPlugin *plugin)
g_return_val_if_fail(factory != NULL, FALSE); g_return_val_if_fail(factory != NULL, FALSE);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
/* load support library */
if (!gst_library_load ("gstresample"))
{
gst_info ("audioscale: could not load support library: 'gstresample'\n");
return FALSE;
}
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment