#139926 - lowers rank of id3tag

Original commit message from CVS:
#139926 - lowers rank of id3tag
This commit is contained in:
Thomas Vander Stichele 2004-04-14 15:33:16 +00:00
parent f38875fca8
commit 121a598de8
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/mad/gstid3tag.c: (plugin_init):
lower rank of id3tag as proposed by Benjamin. Fixes #139926.
2004-04-13 David Schleef <ds@schleef.org>
* common/m4/gst-feature.m4: Call -config scripts with

View file

@ -1162,9 +1162,12 @@ plugin_init (GstPlugin * plugin)
if (!gst_library_load ("gsttags"))
return FALSE;
/* We register id3tag with a rank one less than mad so that mad always
gets picked before id3tag if possible. This avoids multiple plugging
of id3tag in the autoplugger for now. */
if (!gst_element_register (plugin, "mad", GST_RANK_PRIMARY,
gst_mad_get_type ())
|| !gst_element_register (plugin, "id3tag", GST_RANK_PRIMARY,
|| !gst_element_register (plugin, "id3tag", GST_RANK_PRIMARY - 1,
gst_id3_tag_get_type ()))
return FALSE;