From: Iain Holmes Date: Mon, 13 Oct 2003 20:53:53 +0000 (+0000) Subject: Add audio/x-id3 as a mimetype handled by mad. X-Git-Tag: 1.19.3~511^2~15220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cec071743cf854eb075569eb075c0b150c7f8576;p=platform%2Fupstream%2Fgstreamer.git Add audio/x-id3 as a mimetype handled by mad. Original commit message from CVS: Add audio/x-id3 as a mimetype handled by mad. Could also be a flac file apparently, but this allows it to work more times than it does currently --- diff --git a/gst-libs/gst/media-info/media-info-priv.c b/gst-libs/gst/media-info/media-info-priv.c index 7c77670..eae5853 100644 --- a/gst-libs/gst/media-info/media-info-priv.c +++ b/gst-libs/gst/media-info/media-info-priv.c @@ -221,7 +221,8 @@ gmi_get_decoder (GstMediaInfo *info, const char *mime) factory = g_strdup ("vorbisfile"); else if ((strcmp (mime, "audio/mpeg") == 0) || (strcmp (mime, "audio/x-mp3") == 0) || - (strcmp (mime, "audio/mp3") == 0)) + (strcmp (mime, "audio/mp3") == 0) || + (strcmp (mime, "audio/x-id3") == 0)) factory = g_strdup ("mad"); else if (strcmp (mime, "application/x-flac") == 0) factory = g_strdup ("flacdec");