Mercurial > hg > svcore
changeset 1730:649ac57c5a2d
Merge
author | Chris Cannam |
---|---|
date | Thu, 20 Jun 2019 14:58:20 +0100 |
parents | 8efce64dd85e (current diff) a47a23c824ac (diff) |
children | 85b9b466a59f |
files | |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/test/UnsupportedFormat.cpp Thu Jun 20 11:09:36 2019 +0100 +++ b/data/fileio/test/UnsupportedFormat.cpp Thu Jun 20 14:58:20 2019 +0100 @@ -24,6 +24,15 @@ UnsupportedFormat::isLegitimatelyUnsupported(QString format) { #ifdef Q_OS_WIN + + if (sizeof(void *) == 4) { + // Our 32-bit MinGW build lacks MediaFoundation support + return (format == "aac" || + format == "apple_lossless" || + format == "m4a" || + format == "wma"); + } + // Our CI tests run on Windows Server, which annoyingly seems to // come without codecs for WMA and AAC @@ -49,6 +58,9 @@ std::cerr << "WARNING: Failed to find RtlGetVersion in NTDLL" << std::endl; } + + // If none of the above applies, then we should have everything + // except this: return (format == "apple_lossless");