# HG changeset patch # User Chris Cannam # Date 1563369891 -3600 # Node ID 85b9b466a59fb44841852965eeaaf3f24d2ed3c4 # Parent 649ac57c5a2dee598aa00eaa29a2d58a7e404575# Parent 2e2497cba59e10fcb53fd9e0bc14620e15135266 Merge from branch by-id diff -r 2e2497cba59e -r 85b9b466a59f data/fileio/test/UnsupportedFormat.cpp --- a/data/fileio/test/UnsupportedFormat.cpp Wed Jul 17 12:59:57 2019 +0100 +++ b/data/fileio/test/UnsupportedFormat.cpp Wed Jul 17 14:24:51 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");