androidmedia: fix access to invalid buffers in the decoding loop
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Fri, 18 Oct 2013 09:54:12 +0000 (11:54 +0200)
committerAndoni Morales Alastruey <ylatuya@gmail.com>
Wed, 30 Oct 2013 15:24:17 +0000 (16:24 +0100)
commit6b49683447597f6a80c054e781fca76758a3775b
tree60246a42d12ceab9fcf3c9ce47815181a6d72262
parent0baac2ffb91f4e040294c98f3b1938ebbef526ae
androidmedia: fix access to invalid buffers in the decoding loop

Flushing the decoder invalidates all buffers, so it should be done
after quiting the decoding loop. Otherwise we can jump into
"failed_release" and stop everything

https://bugzilla.gnome.org/show_bug.cgi?id=711156
sys/androidmedia/gstamcaudiodec.c
sys/androidmedia/gstamcvideodec.c