codecparser: vp8: Fix range decoder init
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 30 Jan 2018 20:34:58 +0000 (11:34 -0900)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 30 Jan 2018 20:34:58 +0000 (11:34 -0900)
commitcedc7d4def9860d3fba2884a7a44f827e9903f68
tree907cb34e4e35646481f71575d7c6d9c7ef83bfa1
parenta7c207630ca174b4eb1b6c27320ad18ad71ebbd5
codecparser: vp8: Fix range decoder init

According to the vp8 spec, the first partition (size can be derived from
the frame header) should have all compressed header information and we
implemented gst codecparser based on that. But it doesn't seem to be the
case with some of the streams (#792773) and libvpx
works fine because it uses the whole frame size (not the first partition
size) to initialize the bool decoder.

https://bugzilla.gnome.org/show_bug.cgi?id=792773
gst-libs/gst/codecparsers/gstvp8parser.c