diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-07 11:48:09 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-07 11:48:09 +0000 |
commit | 3b310c00eb22d59e2a19d84707c4d8f7dec5b434 (patch) | |
tree | 2e2a70f4bc4e80c2fe254955f41c1485ff3f1b13 /ext/gio/gstgio.c | |
parent | 1407259dbc44b0cf23c9e72770c990e5f8cac680 (diff) | |
download | gst-plugins-bad-3b310c00eb22d59e2a19d84707c4d8f7dec5b434.tar.gz gst-plugins-bad-3b310c00eb22d59e2a19d84707c4d8f7dec5b434.tar.bz2 gst-plugins-bad-3b310c00eb22d59e2a19d84707c4d8f7dec5b434.zip |
ext/gio/gstgio.c: Remove nowadays unnecessary workaround for a crash.
Original commit message from CVS:
* ext/gio/gstgio.c: (plugin_init):
Remove nowadays unnecessary workaround for a crash.
* ext/gio/gstgiosink.c: (gst_gio_sink_finalize),
(gst_gio_sink_start), (gst_gio_sink_stop),
(gst_gio_sink_unlock_stop):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (gst_gio_src_finalize), (gst_gio_src_start),
(gst_gio_src_stop), (gst_gio_src_unlock_stop):
* ext/gio/gstgiosrc.h:
Make the finalize function safer, clean up everything that could stay
around.
Reset the cancellable instead of creating a new one after cancelling
some operation.
Don't store the GFile in the element, it's only necessary for creating
the streams.
Diffstat (limited to 'ext/gio/gstgio.c')
-rw-r--r-- | ext/gio/gstgio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/gio/gstgio.c b/ext/gio/gstgio.c index 440ca01c..978394a9 100644 --- a/ext/gio/gstgio.c +++ b/ext/gio/gstgio.c @@ -189,13 +189,6 @@ plugin_init (GstPlugin * plugin) GST_DEBUG_CATEGORY_INIT (gst_gio_debug, "gio", 0, "GIO elements"); - /* FIXME: This is needed to prevent a crash. Needs further investigation - * probably. */ - if (g_vfs_get_default () == NULL) { - GST_WARNING ("Failed to initialize default VFS, not registering plugin"); - return FALSE; - } - /* FIXME: Rank is MARGINAL for now, should be at least SECONDARY+1 in the future * to replace gnomevfssink/src. For testing purposes PRIMARY+1 one makes sense * so it gets autoplugged and preferred over filesrc/sink. */ |