summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/gstreamer/backend.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-16 09:42:00 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:09 (GMT)
commit5c4130a509248e897d52e4980cc8d58f0940d76c (patch)
tree2948c4166769f87c943d6edddb020d5d54906d72 /src/3rdparty/phonon/gstreamer/backend.cpp
parent1a8a4b2ce746f357a58b04a02321824f8040b3e9 (diff)
downloadQt-5c4130a509248e897d52e4980cc8d58f0940d76c.zip
Qt-5c4130a509248e897d52e4980cc8d58f0940d76c.tar.gz
Qt-5c4130a509248e897d52e4980cc8d58f0940d76c.tar.bz2
Added QT_NO_PHONON_EFFECT to gstreamer backend
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/3rdparty/phonon/gstreamer/backend.cpp')
-rw-r--r--src/3rdparty/phonon/gstreamer/backend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/gstreamer/backend.cpp b/src/3rdparty/phonon/gstreamer/backend.cpp
index ceaf94a..b285fd9 100644
--- a/src/3rdparty/phonon/gstreamer/backend.cpp
+++ b/src/3rdparty/phonon/gstreamer/backend.cpp
@@ -117,9 +117,10 @@ QObject *Backend::createObject(BackendInterface::Class c, QObject *parent, const
m_audioOutputs.append(ao);
return ao;
}
+#ifndef QT_NO_PHONON_EFFECT
case EffectClass:
return new AudioEffect(this, args[0].toInt(), parent);
-
+#endif //QT_NO_PHONON_EFFECT
case AudioDataOutputClass:
logMessage("createObject() : AudioDataOutput not implemented");
break;