summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-05 21:46:17 +0200
committerwm4 <wm4@nowhere>2015-05-05 21:46:17 +0200
commitfd6809f98a546c2abe87b378bb1fe0bbec40a4ef (patch)
tree5e41e8dd8d0ab862ee3d133ca2dd57bcae02d87a /audio/out/ao_lavc.c
parent66f4e7cce497f24e5b693b95fa222382da649f86 (diff)
downloadmpv-fd6809f98a546c2abe87b378bb1fe0bbec40a4ef.tar.bz2
mpv-fd6809f98a546c2abe87b378bb1fe0bbec40a4ef.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.
Diffstat (limited to 'audio/out/ao_lavc.c')
0 files changed, 0 insertions, 0 deletions