Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
return
gst_caps_new (
"flac_flac",
- "audio/x-flac",
+ "application/x-flac",
NULL);
}
}
static GstTypeDefinition flacdefinition = {
- "flac_audio/x-flac",
- "audio/x-flac",
+ "flac_application/x-flac",
+ "application/x-flac",
".flac",
flac_type_find,
};
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);
}
NULL),
gst_caps_new (
"shout2send_sink",
- "audio/mp3",
+ "audio/x-mp3",
NULL),
NULL);
}
{
- 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;
),
GST_CAPS_NEW (
"avidemux_src_audio",
- "audio/mp3",
+ "audio/x-mp3",
NULL
),
GST_CAPS_NEW (
case GST_RIFF_WAVE_FORMAT_MPEGL3:
case GST_RIFF_WAVE_FORMAT_MPEGL12: /* mp3 */
newcaps = gst_caps_new ("avidemux_audio_src",
- "audio/mp3",
+ "audio/x-mp3",
NULL);
break;
case GST_RIFF_WAVE_FORMAT_PCM: /* PCM/wav */
),
GST_CAPS_NEW (
"avimux_sink_audio",
- "audio/mp3",
+ "audio/x-mp3",
NULL
),
GST_CAPS_NEW (
avimux->auds_hdr.samplesize = avimux->auds_hdr.scale = avimux->auds.blockalign = width * avimux->auds.channels/8;
goto done;
}
- else if (!strcmp (mimetype, "audio/mp3"))
+ else if (!strcmp (mimetype, "audio/x-mp3"))
{
gint layer;