Renamed gstmp3tag.c to gstid3tag.c, changed application/x-vorbis to audio/x-vorbis
authorChristophe Fergeau <teuf@gnome.org>
Tue, 25 Nov 2003 21:24:03 +0000 (21:24 +0000)
committerChristophe Fergeau <teuf@gnome.org>
Tue, 25 Nov 2003 21:24:03 +0000 (21:24 +0000)
Original commit message from CVS:
Renamed gstmp3tag.c to gstid3tag.c, changed application/x-vorbis to audio/x-vorbis

gst/tags/Makefile.am
gst/tags/gstid3tag.c [moved from gst/tags/gstmp3tag.c with 100% similarity]
gst/tags/gstvorbistag.c
gst/typefind/gsttypefindfunctions.c

index c8c4916..3d78fb4 100644 (file)
@@ -1,7 +1,7 @@
 
 plugin_LTLIBRARIES = libgsttagediting.la
 
-libgsttagediting_la_SOURCES = gstvorbistag.c gsttagediting.c gstmp3tag.c
+libgsttagediting_la_SOURCES = gstvorbistag.c gsttagediting.c gstid3tag.c
 libgsttagediting_la_CFLAGS = $(GST_CFLAGS)
 libgsttagediting_la_LIBADD = $(GST_LIBS) 
 libgsttagediting_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
similarity index 100%
rename from gst/tags/gstmp3tag.c
rename to gst/tags/gstid3tag.c
index 8762765..c35b452 100644 (file)
@@ -79,7 +79,7 @@ GST_PAD_TEMPLATE_FACTORY (vorbis_tag_src_template_factory,
   GST_PAD_ALWAYS,
   GST_CAPS_NEW (
     "vorbis_tag_data_src",
-    "application/x-vorbis",
+    "audio/x-vorbis",
     NULL
   ),
   GST_CAPS_NEW (
@@ -95,7 +95,7 @@ GST_PAD_TEMPLATE_FACTORY (vorbis_tag_sink_template_factory,
   GST_PAD_ALWAYS,
   GST_CAPS_NEW (
     "vorbis_tag_data_sink",
-    "application/x-vorbis",
+    "audio/x-vorbis",
     NULL
   )
 )
index b89b9f4..74ad1e0 100644 (file)
@@ -862,7 +862,7 @@ dv_type_find (GstTypeFind *tf, gpointer private)
 
 /*** application/x-vorbis *****************************************************/
 
-#define VORBIS_CAPS GST_CAPS_NEW ("vorbis_type_find", "application/x-vorbis", NULL)
+#define VORBIS_CAPS GST_CAPS_NEW ("vorbis_type_find", "audio/x-vorbis", NULL)
 static void
 vorbis_type_find (GstTypeFind *tf, gpointer private)
 {
@@ -1081,7 +1081,7 @@ plugin_init (GstPlugin *plugin)
          zip_exts, "PK\003\004", 4, GST_TYPE_FIND_LIKELY);
   TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-compress", GST_RANK_SECONDARY,
          compress_exts, "\037\235", 2, GST_TYPE_FIND_LIKELY);
-  TYPE_FIND_REGISTER (plugin, "application/x-vorbis", GST_RANK_PRIMARY,
+  TYPE_FIND_REGISTER (plugin, "audio/x-vorbis", GST_RANK_PRIMARY,
          vorbis_type_find, NULL, VORBIS_CAPS, NULL);
   
   return TRUE;