mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
ext: Invert rank of gio and gnomevfs elements
This commit is contained in:
parent
930f72c6b0
commit
e528e73268
2 changed files with 4 additions and 4 deletions
|
@ -239,10 +239,10 @@ plugin_init (GstPlugin * plugin)
|
||||||
* to replace gnomevfssink/src. For testing purposes PRIMARY+1 one makes sense
|
* to replace gnomevfssink/src. For testing purposes PRIMARY+1 one makes sense
|
||||||
* so it gets autoplugged and preferred over filesrc/sink. */
|
* 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);
|
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);
|
GST_TYPE_GIO_SRC);
|
||||||
|
|
||||||
ret &= gst_element_register (plugin, "giostreamsink", GST_RANK_NONE,
|
ret &= gst_element_register (plugin, "giostreamsink", GST_RANK_NONE,
|
||||||
|
|
|
@ -117,11 +117,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
gst_plugin_add_dependency_simple (plugin, NULL, GNOME_VFS_MODULES_DIR, NULL,
|
gst_plugin_add_dependency_simple (plugin, NULL, GNOME_VFS_MODULES_DIR, NULL,
|
||||||
GST_PLUGIN_DEPENDENCY_FLAG_NONE);
|
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 ()))
|
gst_gnome_vfs_src_get_type ()))
|
||||||
return FALSE;
|
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 ()))
|
gst_gnome_vfs_sink_get_type ()))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue