diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2016-10-07 15:34:53 +0300 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-11-02 13:41:47 +0000 |
commit | 9df63fd62e1932a7d650f8d99c2b92947a05a9f4 (patch) | |
tree | 1072a72f04b3412940c685c34a5197ec1c110d1f /src/plugins/wmf/wmf.pro | |
parent | 4e5eb169891fb52abe5683cb2d50f3ef280f1695 (diff) |
WMF: make it possible to build only the audio decode service
The WMF plugin can now be built without the media player service. That
enables the audio decode service even when DirectShow is used as media
player backend.
The default configuration on Windows is now:
Camera, MediaPlayer -> DirectShow
AudioDecode -> WMF
Change-Id: Ic6f3c85ed849e0c603719cfb03794e6abd2d52fa
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/wmf/wmf.pro')
-rw-r--r-- | src/plugins/wmf/wmf.pro | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/plugins/wmf/wmf.pro b/src/plugins/wmf/wmf.pro index e83c51595..c75efe28c 100644 --- a/src/plugins/wmf/wmf.pro +++ b/src/plugins/wmf/wmf.pro @@ -10,24 +10,19 @@ INCLUDEPATH += . HEADERS += \ wmfserviceplugin.h \ mfstream.h \ - sourceresolver.h \ - samplegrabber.h \ - mftvideo.h \ - mfactivate.h + sourceresolver.h SOURCES += \ wmfserviceplugin.cpp \ mfstream.cpp \ - sourceresolver.cpp \ - samplegrabber.cpp \ - mftvideo.cpp \ - mfactivate.cpp + sourceresolver.cpp -include (player/player.pri) +contains(QT_CONFIG, wmf-backend): include (player/player.pri) include (decoder/decoder.pri) OTHER_FILES += \ - wmf.json + wmf.json \ + wmf_audiodecode.json PLUGIN_TYPE = mediaservice PLUGIN_CLASS_NAME = WMFServicePlugin |