mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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
This commit is contained in:
parent
4abb85e5bf
commit
a365faa43a
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ gmi_get_decoder (GstMediaInfo *info, const char *mime)
|
||||||
factory = g_strdup ("vorbisfile");
|
factory = g_strdup ("vorbisfile");
|
||||||
else if ((strcmp (mime, "audio/mpeg") == 0) ||
|
else if ((strcmp (mime, "audio/mpeg") == 0) ||
|
||||||
(strcmp (mime, "audio/x-mp3") == 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");
|
factory = g_strdup ("mad");
|
||||||
else if (strcmp (mime, "application/x-flac") == 0)
|
else if (strcmp (mime, "application/x-flac") == 0)
|
||||||
factory = g_strdup ("flacdec");
|
factory = g_strdup ("flacdec");
|
||||||
|
|
Loading…
Reference in a new issue