aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mpeg/decodermpegfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mpeg/decodermpegfactory.cpp')
-rw-r--r--src/plugins/Input/mpeg/decodermpegfactory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/Input/mpeg/decodermpegfactory.cpp b/src/plugins/Input/mpeg/decodermpegfactory.cpp
index a9bb30744..6c841e7f1 100644
--- a/src/plugins/Input/mpeg/decodermpegfactory.cpp
+++ b/src/plugins/Input/mpeg/decodermpegfactory.cpp
@@ -37,7 +37,6 @@
#include <taglib/textidentificationframe.h>
#include <taglib/id3v2framefactory.h>
#include "mpegmetadatamodel.h"
-#include "replaygainreader.h"
#include "settingsdialog.h"
#ifdef WITH_MAD
#include "decoder_mad.h"
@@ -175,7 +174,7 @@ const DecoderProperties DecoderMPEGFactory::properties() const
return properties;
}
-Decoder *DecoderMPEGFactory::create(const QString &url, QIODevice *input)
+Decoder *DecoderMPEGFactory::create(const QString &, QIODevice *input)
{
Decoder *d = 0;
#if defined(WITH_MAD) && defined(WITH_MPG123)
@@ -195,12 +194,6 @@ Decoder *DecoderMPEGFactory::create(const QString &url, QIODevice *input)
#elif defined(WITH_MPG123)
d = new DecoderMPG123(input);
#endif
-
- if(d && !url.contains("://")) //local file
- {
- ReplayGainReader rg(url);
- d->setReplayGainInfo(rg.replayGainInfo());
- }
return d;
}