diff options
author | wm4 <wm4@nowhere> | 2013-03-29 22:52:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-13 04:21:29 +0200 |
commit | fd6302631a537f198ba60ae29c8818111881b0b1 (patch) | |
tree | 9e84562f72cf5c9ccea553bdcb1287b383d8abab /stream | |
parent | d2c20f4cfbfe01bdf63c2a76f20d39212598440e (diff) | |
download | mpv-fd6302631a537f198ba60ae29c8818111881b0b1.tar.bz2 mpv-fd6302631a537f198ba60ae29c8818111881b0b1.tar.xz |
af: streamline format negotiation
Add dummy input and output filters to remove special cases in the format
negotiation code (af_fix_format_conversion() etc.). The output of the
filter chain is now negotiated in exactly the same way as normal
filters.
Negotiate setting the sample rate in the same way as other audio
parameters. As a side effect, the resampler is inserted at the start of
the filter chain instead of the end, but that shouldn't matter much,
especially since conversion and channel mixing are conflated into the
same filter (due to libavresample's API).
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions