summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-05 21:46:17 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:48:34 +0900
commit2d35c84ebfbc981f395f3c1cc6f547b34eabffc6 (patch)
treeb6d8145e67faccfcc65322a4206959bca3e955e2 /demux
parentbdbbf4ae484817503d90a9e62448ea1b236f9c56 (diff)
downloadmpv-2d35c84ebfbc981f395f3c1cc6f547b34eabffc6.tar.bz2
mpv-2d35c84ebfbc981f395f3c1cc6f547b34eabffc6.tar.xz
ao_coreaudio_utils: refine format selection
Instead of always picking a somehow better format over the previous one, select a format that is equal to or better the requested format, but is also reasonably close. Drop the mFormatID comparison - checking the sample format handles this already. Make sure to exclude channel counts that can't be used. (cherry picked from commit fd6809f98a546c2abe87b378bb1fe0bbec40a4ef)
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions