matroskademux: avoid leaking buffers
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Jun 2009 10:42:33 +0000 (12:42 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Jun 2009 10:42:33 +0000 (12:42 +0200)
commit9600c549380d97f79e7a948a3367962405c93f05
treefb21063327806f2e6e5a754fc21295787b7cfc1d
parent0b475ba774b512fcacf3e875af635840b1bbf37a
matroskademux: avoid leaking buffers

Don't leak buffers when resyncing to a keyframe.
Avoid leaking buffers when exiting the loop on error conditions.
Add some more debug info.

Fixes #585911
gst/matroska/matroska-demux.c