[gst-devel] gst_plugin_load_file
Greg Rutz
grutz at enabletv.com
Thu Nov 20 02:06:03 CET 2008
I am currently using GStreamer 0.10.20 and loving it. Great work, all of
you.
I have a question about the implementation of g_plugin_load_file. I would
like to pass plain filenames without absolute or relative path directories
and let my run-time loader use its own search path to find the shared
library that contains the plugin. However, because of a call to g_stat() in
g_plugin_load_file, it will always fail unless the shared library happens to
be in the current working directory.
My question is... does gstreamer depend on having relative or absolute
directories specified for its plugin's shared libraries? I commented out
the g_stat() call and re-compiled gstreamer and it worked as I had
originally hoped, but I'm not sure if I've created a potential problem that
I'm just not seeing at this time.
Greg
---------------------------------------------------------
Greg Rutz
Principal Engineer
enableTV
grutz at enabletv.com
303-931-6769 (cell)
---------------------------------------------------------
More information about the gstreamer-devel
mailing list