summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-29 22:44:35 +0100
committerwm4 <wm4@nowhere>2016-01-29 22:44:35 +0100
commitc00dc5c5c61ba185cc0e8698697cb9b365553a56 (patch)
tree2799f284326e6feecd8cd3798f38891ed6700e8c /player/video.c
parentc5a48c63321de00bb8cb6b91a8d6ed22caa3b36f (diff)
downloadmpv-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 'player/video.c')
0 files changed, 0 insertions, 0 deletions