flacdec: Only flush the FLAC decoder if it wasn't created right before
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 6 Feb 2010 17:19:27 +0000 (18:19 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 12 Feb 2010 09:54:18 +0000 (10:54 +0100)
commit27b203b030c8a80f26a8f7c35abbb53ca7c0b0c7
treecccb292465f2917e8596e1f7e508295ad0954b52
parente1c577c6e793d8a2dc368a687e12f1cfaed6180e
flacdec: Only flush the FLAC decoder if it wasn't created right before

If the FLAC decoder is flushed, its state will be set to frame-sync mode,
which will sync to the next *audio* frame and makes it ignore all headers.
This prevented tags and everything else to show up when using flacdec
in push mode.

Fixes bug #608843.
ext/flac/gstflacdec.c