diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-05-27 08:06:43 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-05-27 08:06:43 +0000 |
| commit | 5b0ac983106a2116cc46b34d57adb3689c8cd4b8 (patch) | |
| tree | 68edcfc0e9906d8df822cb2df513c831336ab501 /src/plugins/Input/mpeg/decodermpegfactory.cpp | |
| parent | a9e350153bb4e2c778f8c2f566d5d6ea6f9e0311 (diff) | |
| download | qmmp-5b0ac983106a2116cc46b34d57adb3689c8cd4b8.tar.gz qmmp-5b0ac983106a2116cc46b34d57adb3689c8cd4b8.tar.bz2 qmmp-5b0ac983106a2116cc46b34d57adb3689c8cd4b8.zip | |
removed unused code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7961 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpeg/decodermpegfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mpeg/decodermpegfactory.cpp | 9 |
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; } |
