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 [hidden email] 303-931-6769 (cell) --------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
ons, 19 11 2008 kl. 18:06 -0700, skrev Greg Rutz:
> 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. Does using the --gst-plugin-path command line argument or the GST_PLUGIN_PATH environment variable do the trick for you? Simon Holm Thøgersen ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |