From b521a373bf88e1f2cfbc2bf41e1d7c38a032be3d Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sun, 8 Dec 2002 17:20:44 +0000 Subject: Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac Original commit message from CVS: Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac --- gst/mpeg1sys/gstmpeg1systemencode.c | 2 +- gst/mpegaudioparse/gstmp3types.c | 4 ++-- gst/mpegaudioparse/gstmpegaudioparse.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gst') diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index 11cca2de..246a98d4 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.c +++ b/gst/mpeg1sys/gstmpeg1systemencode.c @@ -78,7 +78,7 @@ GST_PAD_TEMPLATE_FACTORY (audio_sink_factory, GST_PAD_REQUEST, GST_CAPS_NEW ( "sink_audio", - "audio/mp3", + "audio/x-mp3", NULL ) ) diff --git a/gst/mpegaudioparse/gstmp3types.c b/gst/mpegaudioparse/gstmp3types.c index d0ee00c9..43c82b69 100644 --- a/gst/mpegaudioparse/gstmp3types.c +++ b/gst/mpegaudioparse/gstmp3types.c @@ -24,7 +24,7 @@ static GstCaps* mp3_type_find(GstBuffer *buf, gpointer private); static GstTypeDefinition mp3type_definitions[] = { - { "mp3types_audio/mp3", "audio/mp3", ".mp3 .mp2 .mp1 .mpga", mp3_type_find }, + { "mp3types_audio/x-mp3", "audio/x-mp3", ".mp3 .mp2 .mp1 .mpga", mp3_type_find }, { NULL, NULL, NULL, NULL }, }; @@ -92,7 +92,7 @@ mp3_type_find(GstBuffer *buf, gpointer private) return NULL; done: - caps = gst_caps_new ("mp3_type_find", "audio/mp3", NULL); + caps = gst_caps_new ("mp3_type_find", "audio/x-mp3", NULL); return caps; } diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index fa466f68..f78415f1 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -42,7 +42,7 @@ mp3_src_factory (void) GST_PAD_ALWAYS, gst_caps_new ( "mp3parse_src", - "audio/mp3", + "audio/x-mp3", /* gst_props_new ( "layer", GST_PROPS_INT_RANGE (1, 3), @@ -63,7 +63,7 @@ mp3_sink_factory (void) GST_PAD_ALWAYS, gst_caps_new ( "mp3parse_sink", - "audio/mp3", + "audio/x-mp3", NULL), NULL); }; -- cgit v1.2.1