summaryrefslogtreecommitdiffstats
path: root/src/plugins/wmf/wmfserviceplugin.h
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-01-08 13:30:25 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-01-14 09:20:49 +0000
commit4eb0a083cbadca2d24d2382e159864b2980e425f (patch)
treea57a268908bdcb6f4d8cd54d4ed7bd60525e2c2a /src/plugins/wmf/wmfserviceplugin.h
parent509dedc662a46e37a5024ce357978b8cf70b4988 (diff)
Windows: Build directshow media player with wmf if available
Removed -mediaplayer-backend configure param. It allows to build directshow media player together with wmf's one, if the last is available. It is useful to switch to another backend without rebuilding. By default directshow media player will be used. [ChangeLog][Platform Specific Changes][Windows] Removed -mediaplayer-backend config param which allowed to build wmf together with DirectShow. Task-number: QTBUG-32783 Change-Id: I486a93d9493407af3793cfe338b35daab7c642db Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/wmf/wmfserviceplugin.h')
-rw-r--r--src/plugins/wmf/wmfserviceplugin.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/wmf/wmfserviceplugin.h b/src/plugins/wmf/wmfserviceplugin.h
index 826ca1d26..493a0b08c 100644
--- a/src/plugins/wmf/wmfserviceplugin.h
+++ b/src/plugins/wmf/wmfserviceplugin.h
@@ -55,11 +55,8 @@ class WMFServicePlugin
Q_INTERFACES(QMediaServiceSupportedDevicesInterface)
Q_INTERFACES(QMediaServiceDefaultDeviceInterface)
Q_INTERFACES(QMediaServiceFeaturesInterface)
-#if QT_CONFIG(wmf_player)
Q_PLUGIN_METADATA(IID "org.qt-project.qt.mediaserviceproviderfactory/5.0" FILE "wmf.json")
-#else
- Q_PLUGIN_METADATA(IID "org.qt-project.qt.mediaserviceproviderfactory/5.0" FILE "wmf_audiodecode.json")
-#endif
+
public:
QMediaService* create(QString const& key);
void release(QMediaService *service);