vp8dec: Improve output_state handling
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 27 Apr 2012 21:22:42 +0000 (18:22 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 28 May 2012 13:29:18 +0000 (15:29 +0200)
commit1f34e79ffcdec947fa1a48b83f95fd952e20df51
tree7d4ddbbdbf13de7267b0048001dac81c85e0d661
parent44d22d3e820616689d4bf2575a93cec2186724ee
vp8dec: Improve output_state handling

Avoid getting output_state for every buffer as that requires
getting the objectlock and doing reference counting. Store it locally
when it is created and use it.
ext/vp8/gstvp8dec.c
ext/vp8/gstvp8dec.h