flacdec: Take samplerate, width and number of channels from the STREAMINFO
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Mar 2010 13:16:39 +0000 (14:16 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Mar 2010 13:16:39 +0000 (14:16 +0100)
commit2e42e82037431f6169cbeaa7b02c02901190b100
tree63eb97cd776f3cc2e899f04e9b8efce796ec0e39
parent2873c3ad6bb0e984cf8a9fd119ad98a3e8c1cc25
flacdec: Take samplerate, width and number of channels from the STREAMINFO

...and update it from the frame headers if it should change for some reason.

This allows playback of files with odd sample rates.
ext/flac/gstflacdec.c