From e528e7326894cef954400719b46087ef38969b5f Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 8 Apr 2010 12:21:50 +0200 Subject: [PATCH] ext: Invert rank of gio and gnomevfs elements --- ext/gio/gstgio.c | 4 ++-- ext/gnomevfs/gstgnomevfs.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/gio/gstgio.c b/ext/gio/gstgio.c index be0a940b0e..3bf9c69fd1 100644 --- a/ext/gio/gstgio.c +++ b/ext/gio/gstgio.c @@ -239,10 +239,10 @@ plugin_init (GstPlugin * plugin) * to replace gnomevfssink/src. For testing purposes PRIMARY+1 one makes sense * so it gets autoplugged and preferred over filesrc/sink. */ - ret &= gst_element_register (plugin, "giosink", GST_RANK_MARGINAL, + ret &= gst_element_register (plugin, "giosink", GST_RANK_SECONDARY, GST_TYPE_GIO_SINK); - ret &= gst_element_register (plugin, "giosrc", GST_RANK_MARGINAL, + ret &= gst_element_register (plugin, "giosrc", GST_RANK_SECONDARY, GST_TYPE_GIO_SRC); ret &= gst_element_register (plugin, "giostreamsink", GST_RANK_NONE, diff --git a/ext/gnomevfs/gstgnomevfs.c b/ext/gnomevfs/gstgnomevfs.c index 747f1cf0bb..c00254ef54 100644 --- a/ext/gnomevfs/gstgnomevfs.c +++ b/ext/gnomevfs/gstgnomevfs.c @@ -117,11 +117,11 @@ plugin_init (GstPlugin * plugin) gst_plugin_add_dependency_simple (plugin, NULL, GNOME_VFS_MODULES_DIR, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE); - if (!gst_element_register (plugin, "gnomevfssrc", GST_RANK_SECONDARY, + if (!gst_element_register (plugin, "gnomevfssrc", GST_RANK_MARGINAL, gst_gnome_vfs_src_get_type ())) return FALSE; - if (!gst_element_register (plugin, "gnomevfssink", GST_RANK_SECONDARY, + if (!gst_element_register (plugin, "gnomevfssink", GST_RANK_MARGINAL, gst_gnome_vfs_sink_get_type ())) return FALSE;