diff options
author | wm4 <wm4@nowhere> | 2016-01-29 22:44:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-29 22:44:35 +0100 |
commit | c00dc5c5c61ba185cc0e8698697cb9b365553a56 (patch) | |
tree | 2799f284326e6feecd8cd3798f38891ed6700e8c /version.sh | |
parent | c5a48c63321de00bb8cb6b91a8d6ed22caa3b36f (diff) | |
download | mpv-c00dc5c5c61ba185cc0e8698697cb9b365553a56.tar.bz2 mpv-c00dc5c5c61ba185cc0e8698697cb9b365553a56.tar.xz |
audio: refactor: separate audio init and filter/output init
Before this commit, reinit_audio_chain() did 2 things: create all the
management data structures and initialize the decoder, and handling lazy
filter/output init (as well as dealing with format changes). For the
second purpose, it could be called multiple times (even though it wasn't
really idempotent). This was pretty weird, so make them separate
functions. The new function is actually idempotent too.
It also turns out the reinit functions don't have to call themselves
recursively for the spdif PCM fallback.
Diffstat (limited to 'version.sh')
0 files changed, 0 insertions, 0 deletions