diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-10-16 12:11:36 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-10-16 12:11:36 +0200 |
commit | b222a70179aed20350868396cef5e7d3f909fa33 (patch) | |
tree | 4e2e4a6da1280d122c3d2db32e08fd2df683db5f /src/sources/soundsourceffmpeg.cpp | |
parent | 93b836cc130a5bb5585d4494c2074c228a6b6ac4 (diff) | |
parent | 158161e97929095497b90f9fe8228b237a59906b (diff) |
Merge branch '2.3' into 2.3_ffmpeg
Diffstat (limited to 'src/sources/soundsourceffmpeg.cpp')
-rw-r--r-- | src/sources/soundsourceffmpeg.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/sources/soundsourceffmpeg.cpp b/src/sources/soundsourceffmpeg.cpp index 4103cdf3ea..0c850d1f6c 100644 --- a/src/sources/soundsourceffmpeg.cpp +++ b/src/sources/soundsourceffmpeg.cpp @@ -340,6 +340,7 @@ SoundSourceProviderFFmpeg::SoundSourceProviderFFmpeg() { QStringList SoundSourceProviderFFmpeg::getSupportedFileExtensions() const { QStringList list; + QStringList disabledInputFormats; // Collect all supported formats (whitelist) #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) @@ -432,12 +433,16 @@ QStringList SoundSourceProviderFFmpeg::getSupportedFileExtensions() const { */ } } - kLogger.info() - << "Disabling untested input format:" - << pavInputFormat->name; + disabledInputFormats.append(pavInputFormat->name); continue; } + if (!disabledInputFormats.isEmpty()) { + kLogger.info().noquote() + << "Disabling untested input formats:" + << disabledInputFormats.join(QStringLiteral(", ")); + } + return list; } |