videodecoder: release buffer pool and allocator on full reset
authorJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 16 Dec 2013 15:53:41 +0000 (15:53 +0000)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 16 Dec 2013 16:07:05 +0000 (16:07 +0000)
commit2e38741b94f7a226ee32945b6f14ea439c987719
treeb0a64649c47111a17dddcbb031c1372da172110e
parent38d8fa12a5f31b9e6898338e916bcb32719e4282
videodecoder: release buffer pool and allocator on full reset

It allows to release the buffer pool sooner (i.e. when going
to GST_STATE_READY). Previously it was released in finalize.

Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=720389
gst-libs/gst/video/gstvideodecoder.c