ext: Invert rank of gio and gnomevfs elements

This commit is contained in:
Edward Hervey 2010-04-08 12:21:50 +02:00
parent 930f72c6b0
commit e528e73268
2 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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;