diff options
author | wm4 <wm4@nowhere> | 2016-10-05 16:06:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-05 16:06:37 +0200 |
commit | 3825dc63b2d29f3dc7dbd8f9e5e8db4293d3421b (patch) | |
tree | 3132b1f06131d12ec19c92a796073854a9e7ed1b /TOOLS/osxbundle/mpv.app | |
parent | e6291697e3b7d540dcee3cd49100d69d656f696a (diff) | |
download | mpv-3825dc63b2d29f3dc7dbd8f9e5e8db4293d3421b.tar.bz2 mpv-3825dc63b2d29f3dc7dbd8f9e5e8db4293d3421b.tar.xz |
command: flush and uninitialize audio output first on option changes
This affects changing audio configuration options. Explicitly flush and
uninitialize the audio output first before doing the rest. This should
ensure all state attached to the audio output is discarded and not used
during the reconfiguration.
Also add a comment to the reinit_audio_filters() call. It doesn't
necessarily restore the audio chain fully, but makes sure a seek is
issued if the amnount of buffered audio discarded was huge enough to
cause "problems".
Diffstat (limited to 'TOOLS/osxbundle/mpv.app')
0 files changed, 0 insertions, 0 deletions