diff --git a/ChangeLog b/ChangeLog index fa6227de02..fdb0dac750 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-26 Benjamin Otte + + * 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 * configure.ac: diff --git a/ext/mad/gstid3tag.c b/ext/mad/gstid3tag.c index 46c2d3820f..96417cf50b 100644 --- a/ext/mad/gstid3tag.c +++ b/ext/mad/gstid3tag.c @@ -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,