summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2002-12-08 17:20:41 +0000
committerIain Holmes <iain@prettypeople.org>2002-12-08 17:20:41 +0000
commitefa337df0a1abf0039e9a7591ad8fcf3f34fc464 (patch)
tree40d832ad19e41bcb66f89d32145f5f0acb15fdc3 /ext
parente16c50551bed9fb6ad68965bcf739200429b6bf7 (diff)
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
Diffstat (limited to 'ext')
-rw-r--r--ext/flac/gstflac.c8
-rw-r--r--ext/shout2/gstshout2.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 4d75caf1..6614f865 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -37,7 +37,7 @@ flac_caps_factory (void)
return
gst_caps_new (
"flac_flac",
- "audio/x-flac",
+ "application/x-flac",
NULL);
}
@@ -61,8 +61,8 @@ raw_caps_factory (void)
}
static GstTypeDefinition flacdefinition = {
- "flac_audio/x-flac",
- "audio/x-flac",
+ "flac_application/x-flac",
+ "application/x-flac",
".flac",
flac_type_find,
};
@@ -75,7 +75,7 @@ flac_type_find (GstBuffer *buf, gpointer private)
if (head != 0x664C6143)
return NULL;
- return gst_caps_new ("flac_type_find", "audio/x-flac", NULL);
+ return gst_caps_new ("flac_type_find", "application/x-flac", NULL);
}
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c
index 1a687e33..65b6e90f 100644
--- a/ext/shout2/gstshout2.c
+++ b/ext/shout2/gstshout2.c
@@ -69,7 +69,7 @@ sink_template_factory (void)
NULL),
gst_caps_new (
"shout2send_sink",
- "audio/mp3",
+ "audio/x-mp3",
NULL),
NULL);
}
@@ -324,7 +324,7 @@ gst_shout2send_connect (GstPad *pad, GstCaps *caps)
{
- if (!strcmp(gst_caps_get_mime (caps), "audio/mp3"))
+ if (!strcmp(gst_caps_get_mime (caps), "audio/x-mp3"))
{
audio_format = SHOUT_FORMAT_MP3;
return GST_PAD_CONNECT_OK;