From: Benjamin O. <co...@pd...> - 2004-04-26 20:38:25
|
CVS Root: /home/cvs/gstreamer Module: gst-plugins Changes by: company Date: Mon Apr 26 2004 13:38:24 PDT Log message: * ext/mad/gstid3tag.c: (plugin_init): set id3mux rank to NONE so it doesn't confuse spider require audio/mpeg,mpegversion=1 in id3mux Modified files: . : ChangeLog ext/mad : gstid3tag.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.569&r2=1.570 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/mad/gstid3tag.c.diff?r1=1.34&r2=1.35 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /home/cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.569 retrieving revision 1.570 diff -u -d -r1.569 -r1.570 --- a/ChangeLog 26 Apr 2004 18:03:19 -0000 1.569 +++ b/ChangeLog 26 Apr 2004 20:38:12 -0000 1.570 @@ -1,5 +1,11 @@ 2004-04-26 Benjamin Otte <ot...@gn...> + * 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 <ot...@gn...> * configure.ac: detect faad correctly as non-working if it's indeed non-working Index: gstid3tag.c RCS file: /home/cvs/gstreamer/gst-plugins/ext/mad/gstid3tag.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- a/gstid3tag.c 20 Apr 2004 23:03:27 -0000 1.34 +++ b/gstid3tag.c 26 Apr 2004 20:38:12 -0000 1.35 @@ -142,7 +142,7 @@ 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 @@ 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, |