From d437fde67331e0380a9063b1063bb418d50257e0 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Sat, 12 Jan 2002 03:29:57 +0000 Subject: [PATCH] load resample lib at runtime Original commit message from CVS: * load resample lib at runtime --- gst/audioscale/gstaudioscale.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gst/audioscale/gstaudioscale.c b/gst/audioscale/gstaudioscale.c index 587150a..9e31892 100644 --- a/gst/audioscale/gstaudioscale.c +++ b/gst/audioscale/gstaudioscale.c @@ -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; } -- 2.7.4