mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
b01855714b
Instead of hardcoding what the libavcodec ac3 encoder expects, configure it based on the AVCodec fields. Unfortunately, it doesn't export the list of sample rates, so that is done manually. This commit actually fixes the rate always to 48Khz. I don't even know whether the other rates worked. (Possibly did, but they'd still change the spdif parameters, and would work differently from ad_spdif.c.) |
||
---|---|---|
.. | ||
af_channels.c | ||
af_delay.c | ||
af_drc.c | ||
af_equalizer.c | ||
af_format.c | ||
af_lavcac3enc.c | ||
af_lavfi.c | ||
af_lavrresample.c | ||
af_pan.c | ||
af_rubberband.c | ||
af_scaletempo.c | ||
af_volume.c | ||
af.c | ||
af.h | ||
equalizer.h | ||
tools.c |