summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-07 20:55:00 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-08 16:38:46 +0900
commitb76df84687be286758b097d83eef3429bbdbeafa (patch)
tree344c7ccef444f2450b07a48485b2ef340fe0e381
parent8db3a5b3e4278e4c87369a18bd63839c76e795b9 (diff)
downloadmpv-b76df84687be286758b097d83eef3429bbdbeafa.tar.bz2
mpv-b76df84687be286758b097d83eef3429bbdbeafa.tar.xz
ao_coreaudio_utils: don't list some formats as "unusable"
While mpv has no internal equivalent representation, they can still be used as physical CoreAudio formats. Thus this label is confusing. (cherry picked from commit 1bcb82ec93cc3e037df2dd4e2216a473fe87baf9)
-rw-r--r--audio/out/ao_coreaudio_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_utils.c b/audio/out/ao_coreaudio_utils.c
index 5eacc7f208..6c26dbb7c3 100644
--- a/audio/out/ao_coreaudio_utils.c
+++ b/audio/out/ao_coreaudio_utils.c
@@ -258,7 +258,7 @@ void ca_print_asbd(struct ao *ao, const char *description,
(flags & kAudioFormatFlagIsPacked) ? " packed" : "",
(flags & kAudioFormatFlagIsAlignedHigh) ? " aligned" : "",
(flags & kAudioFormatFlagIsNonInterleaved) ? " P" : "",
- mpfmt ? af_fmt_to_str(mpfmt) : "unusable");
+ mpfmt ? af_fmt_to_str(mpfmt) : "-");
}
// Return whether new is an improvement over old. Assume a higher value means