vorbisdec: Initialize decoder directly once we have the 3 headers
authorSebastian Dröge <sebastian@centricular.com>
Thu, 20 Sep 2018 11:04:39 +0000 (14:04 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 21 Sep 2018 08:48:40 +0000 (11:48 +0300)
commit55ec47f555ea25256433fe4081ce63d0ed5312b3
tree0b10c6e554e7186a3ddc5ca9722c214413080356
parent336983d52ca6796cc1ba366f929fcf7c91ce5852
vorbisdec: Initialize decoder directly once we have the 3 headers

... instead of waiting for the first non-header buffer.

Also drop non-identification headers arriving after initialization or
before the identification header. We don't do anything with them and
they would just accumulate.

https://bugzilla.gnome.org/show_bug.cgi?id=796980
ext/vorbis/gstvorbisdec.c