mirror of https://github.com/mpv-player/mpv
8a6b0b813a
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. |
||
---|---|---|
.. | ||
af.c | ||
af.h | ||
af_bs2b.c | ||
af_center.c | ||
af_channels.c | ||
af_comp.c | ||
af_delay.c | ||
af_dummy.c | ||
af_equalizer.c | ||
af_export.c | ||
af_extrastereo.c | ||
af_format.c | ||
af_format.h | ||
af_format_alaw.h | ||
af_format_ulaw.h | ||
af_gate.c | ||
af_hrtf.c | ||
af_hrtf.h | ||
af_karaoke.c | ||
af_ladspa.c | ||
af_lavcac3enc.c | ||
af_lavcresample.c | ||
af_pan.c | ||
af_resample.c | ||
af_resample_template.c | ||
af_scaletempo.c | ||
af_sinesuppress.c | ||
af_stats.c | ||
af_sub.c | ||
af_surround.c | ||
af_sweep.c | ||
af_tools.c | ||
af_volnorm.c | ||
af_volume.c | ||
control.h | ||
dsp.h | ||
equalizer.h | ||
filter.c | ||
filter.h | ||
format.c | ||
reorder_ch.c | ||
reorder_ch.h | ||
window.c | ||
window.h |