Original commit message from CVS:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
Return FALSE from plugin_init() when GnomeVFS can't
be initialised for some reason (#328423).
+2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
+
+ * ext/gnomevfs/gstgnomevfs.c: (plugin_init):
+ Return FALSE from plugin_init() when GnomeVFS can't
+ be initialised for some reason (#328423).
+
2006-02-06 Julien MOUTTE <julien@moutte.net>
* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event):
-Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea
+Subproject commit 58567e5519f2d00a4592491db1a6e8302993279e
plugin_init (GstPlugin * plugin)
{
/* gnome vfs engine init */
- if (!gnome_vfs_initialized ())
- gnome_vfs_init ();
+ if (!gnome_vfs_initialized ()) {
+ if (!gnome_vfs_init ()) {
+ GST_WARNING ("Failed to initialize GnomeVFS - not registering plugin!");
+ return FALSE;
+ }
+ }
if (!gst_element_register (plugin, "gnomevfssrc", GST_RANK_SECONDARY,
gst_gnome_vfs_src_get_type ()))