gstreamer/ext
Edward Hervey aab5cccc34 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

https://bugzilla.gnome.org/show_bug.cgi?id=784530
2018-02-13 08:41:29 +01:00
..
alsa alsasrc: lock calls to snd_pcm_delay() with mutex as in alsasink 2018-01-22 20:24:00 +00:00
cdparanoia Remove plugin specific static build option 2017-05-16 13:42:07 -04:00
gl glimagesink: Always display with requested stereo display mode 2018-02-09 18:16:04 +11:00
libvisual meson: use dep.get_pkgconfig_variable() 2017-06-05 23:57:48 +01:00
ogg oggdemux: Handle invalid-sized packets 2018-02-01 10:51:21 +01:00
opus opus: remove unused build variable and define 2017-12-19 12:01:32 +00:00
pango textoverlay: ensure text buffer has writable metadata when modifying 2017-07-01 17:45:36 +02:00
theora theoradec: Check for valid width/height 2018-01-17 14:35:51 +01:00
vorbis vorbisdec: Improve "new headers while initialized" handling 2018-02-13 08:41:29 +01:00
Makefile.am gl: hook up to build system 2017-12-19 12:01:48 +00:00
meson.build gl: hook up to build system 2017-12-19 12:01:48 +00:00