summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-23 11:18:11 +0200
committerwm4 <wm4@nowhere>2016-06-23 12:02:36 +0200
commitb01855714beb0a390d1931b2c7538ec0cc7dc1fe (patch)
treee2ddd64be6086dcf5b7bc3664ee55eb8aaef695a /libmpv
parent5a60f594e5dd5949da43cf64e1c13ea62a076b75 (diff)
downloadmpv-b01855714beb0a390d1931b2c7538ec0cc7dc1fe.tar.bz2
mpv-b01855714beb0a390d1931b2c7538ec0cc7dc1fe.tar.xz
af_lavcac3enc: automatically configure most encoder parameters
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.)
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions