From b76df84687be286758b097d83eef3429bbdbeafa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 May 2015 20:55:00 +0200 Subject: [PATCH] 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) --- audio/out/ao_coreaudio_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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