summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-28 09:38:22 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:15 +0900
commit891a9727c6162a633b5c133abe239ee5904cfdf2 (patch)
tree99e18bdcd98319b5d2c747116aecb0c9554b04c9 /.travis.yml
parent2e133e9ddeca7321fdb573464885878bb3d20cb9 (diff)
downloadmpv-891a9727c6162a633b5c133abe239ee5904cfdf2.tar.bz2
mpv-891a9727c6162a633b5c133abe239ee5904cfdf2.tar.xz
chmap_sel: add multichannel fallback heuristic
Instead of just failing during channel map selection, try to select a close layout that makes most sense and upmix/downmix to that instead of failing AO initialization. The heuristic is rather simple, and uses the following steps: 1) If mono is required always prefer stereo to a multichannel upmix. 2) Search for an upmix that is an exact superset of the required channel map. 3) Search for a downmix that is the exact subset of the required channel map. 4) Search for either an upmix or downmix that is the closest (minimum difference of channels) to the required channel map.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions