ext/mad/gstid3tag.c: set id3mux rank to NONE so it doesn't confuse spider require audio/mpeg,mpegversion=1 in id3mux

Original commit message from CVS:
* ext/mad/gstid3tag.c: (plugin_init):
set id3mux rank to NONE so it doesn't confuse spider
require audio/mpeg,mpegversion=1 in id3mux
This commit is contained in:
Benjamin Otte 2004-04-26 20:38:12 +00:00
parent 7d948c9efc
commit edb7f421fd
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-04-26 Benjamin Otte <otte@gnome.org>
* ext/mad/gstid3tag.c: (plugin_init):
set id3mux rank to NONE so it doesn't confuse spider
require audio/mpeg,mpegversion=1 in id3mux
2004-04-26 Benjamin Otte <otte@gnome.org>
* configure.ac:

View file

@ -142,7 +142,7 @@ static GstStaticPadTemplate id3_tag_sink_any_template_factory =
GST_PAD_SINK,
GST_PAD_ALWAYS,
/* FIXME: find a way to extend this generically */
GST_STATIC_CAPS ("audio/mpeg; audio/x-flac")
GST_STATIC_CAPS ("audio/mpeg, mpegversion=(int)1; audio/x-flac")
);
static GstStaticPadTemplate id3_tag_sink_id3_template_factory =
@ -1233,7 +1233,7 @@ plugin_init (GstPlugin * plugin)
gst_mad_get_type ())
|| !gst_element_register (plugin, "id3demux", GST_RANK_PRIMARY,
gst_id3_tag_get_type (GST_ID3_TAG_PARSE_DEMUX))
|| !gst_element_register (plugin, "id3mux", GST_RANK_PRIMARY,
|| !gst_element_register (plugin, "id3mux", GST_RANK_NONE, /* removed for spider */
gst_id3_tag_get_type (GST_ID3_TAG_PARSE_MUX))
/* FIXME 0.9: remove this element */
|| !gst_element_register (plugin, "id3tag", GST_RANK_NONE,