diff options
author | wm4 <wm4@nowhere> | 2016-07-13 17:07:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-13 17:07:06 +0200 |
commit | f53d73b9dc373a41ab535b247f6a2178783b2b82 (patch) | |
tree | fef0cfc740c842b82c3db81863e5cba2b19248ca /audio | |
parent | 79f48500e234b503f74d7e2db260622f7c52bc04 (diff) | |
download | mpv-f53d73b9dc373a41ab535b247f6a2178783b2b82.tar.bz2 mpv-f53d73b9dc373a41ab535b247f6a2178783b2b82.tar.xz |
ao_creoaudio: print OSStatus as decimal signed integer too
OSStatus is quite inconsistent. Sometimes it's a FourCC, sometimes it
reads as decimal signed number.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_coreaudio_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_utils.c b/audio/out/ao_coreaudio_utils.c index 0bcc0d62a1..76f5402fd1 100644 --- a/audio/out/ao_coreaudio_utils.c +++ b/audio/out/ao_coreaudio_utils.c @@ -147,7 +147,7 @@ bool check_ca_st(struct ao *ao, int level, OSStatus code, const char *message) { if (code == noErr) return true; - mp_msg(ao->log, level, "%s (%s)\n", message, mp_tag_str(code)); + mp_msg(ao->log, level, "%s (%s/%d)\n", message, mp_tag_str(code), (int)code); return false; } |