diff options
author | wm4 <wm4@nowhere> | 2013-09-20 13:25:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-20 13:43:00 +0200 |
commit | 542086dd4537b852b61974f9bee4eabebde8505f (patch) | |
tree | 7b84f61b0fa795e4f90ce6474820333946f60991 /TOOLS/osxbundle | |
parent | 01622717257673d424debfa762536f998d97a4dd (diff) | |
download | mpv-542086dd4537b852b61974f9bee4eabebde8505f.tar.bz2 mpv-542086dd4537b852b61974f9bee4eabebde8505f.tar.xz |
af: merge af_reinit() and fix_output_format()
Calling them separately doesn't really make sense, and all existing
calls to them usually combined them. One subtitle difference was that
af_init() didn't wipe the filter chain if initialization of the chain
itself failed, but that didn't really make sense anyway.
Also remove af_init() from the code for setting balance in mixer.c. The
mixer should be in the initialized state only if audio is fully
initialized, so the af_init() call made no sense.
Note that the filter "editing" code in command.c doesn't really do a
nice job of handling errors in case recreating an _old_ (known to work)
filter chain unexpectedly fails, and this obscure/rare case might be
differently handled after this change.
Diffstat (limited to 'TOOLS/osxbundle')
0 files changed, 0 insertions, 0 deletions