mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
load resample lib at runtime
Original commit message from CVS: * load resample lib at runtime
This commit is contained in:
parent
aefd225f62
commit
d437fde673
1 changed files with 7 additions and 0 deletions
|
@ -348,6 +348,13 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
g_return_val_if_fail(factory != NULL, FALSE);
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue