mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
ext/gnomevfs/gstgnomevfs.c: Return FALSE from plugin_init() when GnomeVFS can't be initialised for some reason (#3284...
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).
This commit is contained in:
parent
4e0e05f698
commit
493b5ce964
3 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2006-02-06 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event):
|
* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea
|
Subproject commit 58567e5519f2d00a4592491db1a6e8302993279e
|
|
@ -77,8 +77,12 @@ static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
/* gnome vfs engine init */
|
/* gnome vfs engine init */
|
||||||
if (!gnome_vfs_initialized ())
|
if (!gnome_vfs_initialized ()) {
|
||||||
gnome_vfs_init ();
|
if (!gnome_vfs_init ()) {
|
||||||
|
GST_WARNING ("Failed to initialize GnomeVFS - not registering plugin!");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "gnomevfssrc", GST_RANK_SECONDARY,
|
if (!gst_element_register (plugin, "gnomevfssrc", GST_RANK_SECONDARY,
|
||||||
gst_gnome_vfs_src_get_type ()))
|
gst_gnome_vfs_src_get_type ()))
|
||||||
|
|
Loading…
Reference in a new issue