diff options
author | Iain Holmes <iain@prettypeople.org> | 2003-10-13 20:53:53 +0000 |
---|---|---|
committer | Iain Holmes <iain@prettypeople.org> | 2003-10-13 20:53:53 +0000 |
commit | a365faa43a7fe8ca20ffb2249502db7b45e4bebb (patch) | |
tree | 49a3769d1163a2a22c1eaad3e34f6d8188999b5a | |
parent | 4abb85e5bf4c7c05e7fd29f4f6a2cbd553e5f6d1 (diff) | |
download | gst-plugins-bad-a365faa43a7fe8ca20ffb2249502db7b45e4bebb.tar.gz gst-plugins-bad-a365faa43a7fe8ca20ffb2249502db7b45e4bebb.tar.bz2 gst-plugins-bad-a365faa43a7fe8ca20ffb2249502db7b45e4bebb.zip |
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
-rw-r--r-- | gst-libs/gst/media-info/media-info-priv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/media-info/media-info-priv.c b/gst-libs/gst/media-info/media-info-priv.c index 7c776701..eae5853f 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"); |