Files
qtmultimedia/qtmultimedia.pro
Yoann Lopes 95bd9d58d8 DirectShow: use the EVR in the window control.
Reuse existing code from the WMF plugin, which already uses the EVR.
This enables HW-accelerated video decoding when using QMediaPlayer
with a QVideoWidget.

Task-number: QTBUG-45593
Change-Id: I757e4d53cd2c648aee6ba33a4851a8c6adc62843
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
2015-11-05 11:34:55 +00:00

41 lines
1014 B
Prolog

requires(qtHaveModule(gui))
load(configure)
qtCompileTest(openal)
win32 {
qtCompileTest(directshow) {
qtCompileTest(wshellitem)
}
qtCompileTest(evr)
qtCompileTest(wmsdk)
contains(QT_CONFIG, wmf-backend): qtCompileTest(wmf)
} else:mac {
qtCompileTest(avfoundation)
} else:qnx {
qtCompileTest(mmrenderer)
} else:!android {
contains(QT_CONFIG, alsa):qtCompileTest(alsa)
contains(QT_CONFIG, pulseaudio):qtCompileTest(pulseaudio)
isEmpty(GST_VERSION) {
contains(QT_CONFIG, gstreamer-0.10) {
GST_VERSION = 0.10
} else: contains(QT_CONFIG, gstreamer-1.0) {
GST_VERSION = 1.0
}
}
cache(GST_VERSION, set)
!isEmpty(GST_VERSION):qtCompileTest(gstreamer) {
qtCompileTest(gstreamer_photography)
qtCompileTest(gstreamer_encodingprofiles)
qtCompileTest(gstreamer_appsrc)
qtCompileTest(linux_v4l)
}
qtCompileTest(resourcepolicy)
qtCompileTest(gpu_vivante)
}
load(qt_parts)