mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
audioringbuffer: Accept MPEG 1 layer 3 version 2.5
https://bugzilla.gnome.org/show_bug.cgi?id=781929
This commit is contained in:
parent
8e6c6266d7
commit
1ceb40cd1e
1 changed files with 2 additions and 2 deletions
|
@ -272,8 +272,8 @@ gst_audio_ring_buffer_parse_caps (GstAudioRingBufferSpec * spec, GstCaps * caps)
|
|||
info.bpf = 4;
|
||||
} else if (g_str_equal (mimetype, "audio/mpeg") &&
|
||||
gst_structure_get_int (structure, "mpegaudioversion", &i) &&
|
||||
(i == 1 || i == 2)) {
|
||||
/* Now we know this is MPEG-1 or MPEG-2 (non AAC) */
|
||||
(i == 1 || i == 2 || i == 3)) {
|
||||
/* Now we know this is MPEG-1, MPEG-2 or MPEG-2.5 (non AAC) */
|
||||
/* extract the needed information from the cap */
|
||||
if (!(gst_structure_get_int (structure, "rate", &info.rate)))
|
||||
goto parse_error;
|
||||
|
|
Loading…
Reference in a new issue