summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-03 19:02:58 +0200
committerwm4 <wm4@nowhere>2015-07-03 19:28:00 +0200
commitae3e151b27cdaf561f5cce1f86814501da7401ad (patch)
treea1be321347f347132dc5353b362c0f8ab191ee31 /LICENSE
parentd4ab91f016ef03d460920eb10f2fa52788aa6a3c (diff)
downloadmpv-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 'LICENSE')
0 files changed, 0 insertions, 0 deletions