]> code.delx.au - pulseaudio/commit
resampler: Revert to auto if the rates are equal and copy is chosen
authorpoljar (Damir Jelić) <poljarinho@gmail.com>
Wed, 11 Sep 2013 20:47:24 +0000 (22:47 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 25 Sep 2013 12:45:40 +0000 (18:15 +0530)
commit6f94c56782e30ebacf13f0b4ce62de03f896981a
tree91bd9c424c384f4e35c130c8f827f68f5c48e54a
parenta89ca82e6823641231adb90ad6c1e48c870d2c2f
resampler: Revert to auto if the rates are equal and copy is chosen

This patch fixes a small mistake where we actually log that we are
reverting to the auto resampler if we can't use the 'copy' resampler but
never do the revert.

This would lead to a crash if the user chooses the 'copy' resampler and
then tries to play something that needs to be resampled.
src/pulsecore/resampler.c