mpv/libaf
wm4 8a6b0b813a af: fix crash when trying to use volume controls with AC3 pass-through
Changing the volume when softvol is enabled or if the audio output driver
doesn't support volume controls causes insertion of the "volume" filter.
This fails with AC3. Since the filter wasn't removed after that, and the
filter chain was in a bogus state, random crashes occured past this
point.

Fix it by reinitializing the filter chain completely on failure. Volume
controls simply won't work. (This can't be fixed, because AC3 is a
compressed format, and would require additional decoding/encoding passes
in order to support arbitrary volume changes.)

This also affects balance controls.
2012-03-09 20:48:54 +02:00
..
af.c af: fix crash when trying to use volume controls with AC3 pass-through 2012-03-09 20:48:54 +02:00
af.h libaf: Make af_reinit "public", to allow using it in future patches 2010-11-02 04:18:37 +02:00
af_bs2b.c
af_center.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_channels.c
af_comp.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_delay.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_dummy.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_equalizer.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_export.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_extrastereo.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_format.c audio: clamp sample values in float->int format conversions 2011-05-04 17:25:11 +03:00
af_format.h
af_format_alaw.h
af_format_ulaw.h
af_gate.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.h
af_karaoke.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_ladspa.c cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
af_lavcac3enc.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
af_lavcresample.c cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
af_pan.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample_template.c
af_scaletempo.c
af_sinesuppress.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_stats.c
af_sub.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_surround.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_sweep.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_tools.c
af_volnorm.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_volume.c af_volume: do not change data when volume is 1 2012-01-16 22:40:14 +02:00
control.h
dsp.h
equalizer.h
filter.c
filter.h
format.c cleanup: silence most of the clang warnings 2011-07-09 04:23:24 +03:00
reorder_ch.c
reorder_ch.h
window.c
window.h