diff options
Diffstat (limited to 'src/plugins/Input/mpeg/decodermpegfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mpeg/decodermpegfactory.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/Input/mpeg/decodermpegfactory.cpp b/src/plugins/Input/mpeg/decodermpegfactory.cpp index 5cde2dce4..359539fe7 100644 --- a/src/plugins/Input/mpeg/decodermpegfactory.cpp +++ b/src/plugins/Input/mpeg/decodermpegfactory.cpp @@ -204,7 +204,9 @@ Decoder *DecoderMPEGFactory::create(const QString &, QIODevice *input) d = new DecoderMAD(crc, input); } #elif defined(WITH_MAD) - d = new DecoderMAD(input); + QSettings settings(Qmmp::configFile(), QSettings::IniFormat); + bool crc = settings.value("MPEG/enable_crc", false).toBool(); + d = new DecoderMAD(crc, input); #elif defined(WITH_MPG123) d = new DecoderMPG123(input); #endif |
