audio: support parameter changes (e.g. channel count) during playback
commit5ed772b9cddc4c0de6762e223428b3e36eceefff
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 15 Jul 2010 17:59:46 +0000 (15 17:59 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:14:44 +0000 (2 04:14 +0200)
tree338d1623dd003d777b17c3c64c90049b4c9ebd2c
parent6be6ba40946d333e9d2cf741ba401366e9081c79
audio: support parameter changes (e.g. channel count) during playback

Add support for parameter changes (e.g. channel count) during playback.
This makes decoding AC3 files that switch between 2 and 6 channels
work reasonably well even with -channels 6 and ffac3 decoder.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31737 b3059339-0415-0410-9bf9-f77b7e298cf2

Fix typo in error message: ACC -> AAC

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32473 b3059339-0415-0410-9bf9-f77b7e298cf2

Avoid printing AAC with SBR warning on every decode call, instead print
it only after every decoder reconfiguration.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32476 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpcodecs/ad_ffmpeg.c
libmpcodecs/dec_audio.c
mplayer.c