diff options
author | wm4 <wm4@nowhere> | 2015-07-03 19:02:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-03 19:28:00 +0200 |
commit | ae3e151b27cdaf561f5cce1f86814501da7401ad (patch) | |
tree | a1be321347f347132dc5353b362c0f8ab191ee31 /osdep | |
parent | d4ab91f016ef03d460920eb10f2fa52788aa6a3c (diff) | |
download | mpv-ae3e151b27cdaf561f5cce1f86814501da7401ad.tar.bz2 mpv-ae3e151b27cdaf561f5cce1f86814501da7401ad.tar.xz |
ao_coreaudio_utils: fix format back-mapping
Mapping of spdif formats was imperfect. Since the first format on the
list is somehow AAC, it was returned first, which is confusing, because
CoreAudio calls all spdif formats AC3. Since the spdif formats have some
rather arbitrary, reverse mapping the formats didn"t actually work
either. Fix by explicitly ignoring these when spdif is used.
Also, don't forget to set the samplerate in ca_asbd_to_mpformat(), or it
will work only in some cases.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions