mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
ext/ffmpeg/gstffmpegcodecmap.c: Add ID3 mime. Should partially fix #155274 (although raw mp3 sounds awful, it doesn't...
Original commit message from CVS: * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps): Add ID3 mime. Should partially fix #155274 (although raw mp3 sounds awful, it doesn't parse correctly in the decoder-only case).
This commit is contained in:
parent
47a2fa23a1
commit
f0aa8d49ed
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-12-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
|
||||||
|
Add ID3 mime. Should partially fix #155274 (although raw mp3
|
||||||
|
sounds awful, it doesn't parse correctly in the decoder-only
|
||||||
|
case).
|
||||||
|
|
||||||
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* ext/ffmpeg/gstffmpegcodecmap.c:
|
* ext/ffmpeg/gstffmpegcodecmap.c:
|
||||||
|
|
|
@ -1290,6 +1290,8 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
||||||
caps = gst_caps_new_simple ("video/x-4xm", NULL);
|
caps = gst_caps_new_simple ("video/x-4xm", NULL);
|
||||||
} else if (!strcmp (format_name, "matroska")) {
|
} else if (!strcmp (format_name, "matroska")) {
|
||||||
caps = gst_caps_new_simple ("video/x-matroska", NULL);
|
caps = gst_caps_new_simple ("video/x-matroska", NULL);
|
||||||
|
} else if (!strcmp (format_name, "mp3")) {
|
||||||
|
caps = gst_caps_new_simple ("application/x-id3", NULL);
|
||||||
} else {
|
} else {
|
||||||
gchar *name;
|
gchar *name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue