[Bug 784530] GStreamer no longer plays Vorbis streams with incorrectly framed headers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 13 07:41:33 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=784530

--- Comment #14 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 368286
  --> https://bugzilla.gnome.org/attachment.cgi?id=368286&action=edit
vorbisdec: Improve "new headers while initialized" handling

If new headers arrive after we are initialized, we need to make
sure that they are indeed valid.

A vorbis bitstream always begins with three header packets and must
be in order.

Also some streams have unframed (invalid?) headers that might
confuse and disrupt the decoding process.

Therefore if ever we see new headers, we accumulate them and once
we get a non-header packet we check them to make sure that:
* We have at least 3 headers
* They are the expected ones (identification, comments and setup)
* They are in order
* Any other "header" is ignored

If those conditions are met, we reset and reconfigure the decoder

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list