summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Carlon <carlon.luca@gmail.com>2018-07-14 18:03:07 +0200
committerLuca Carlon <carlon.luca@gmail.com>2018-07-24 22:10:28 +0000
commitc4ded54241c92f3032e50e19654602b4706d04c8 (patch)
tree3deee204a6bd4bb4c24b50bf84cae55e48d3e69b
parentbb13e93058708eb59e9e6b4e6cdfdb65f618d1c8 (diff)
configure: add option to allow building without evr support
Because of issue QTBUG-53019, the performance of an application playing a video on windows is sometimes just a few fps. The issue seems to be related to EVR on some hardware, and appeared in commit c739752. This patch allows building the qtmultimedia module without EVR. Task-number: QTBUG-53019 Change-Id: I1166e633dd02e93047fa72b0ac156ae615ab67ec Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-rw-r--r--config_help.txt1
-rw-r--r--src/multimedia/configure.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index 7dd6b772f..341f53506 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -7,3 +7,4 @@ Multimedia options:
With no parameter, 1.0 is tried first, then 0.10.
-mediaplayer-backend <name> ... Select media player backend (Windows only)
Supported backends: directshow (default), wmf
+ -evr ................. Enables EVR in DirectShow and WMF [auto]
diff --git a/src/multimedia/configure.json b/src/multimedia/configure.json
index e250f2b9a..9980b0664 100644
--- a/src/multimedia/configure.json
+++ b/src/multimedia/configure.json
@@ -8,6 +8,7 @@
"commandline": {
"options": {
"alsa": "boolean",
+ "evr": { "type": "boolean" },
"gstreamer": { "type": "optionalString", "values": [ "no", "yes", "0.10", "1.0" ] },
"pulseaudio": "boolean",
"mediaplayer-backend": { "type": "string", "values": [ "directshow", "wmf" ] },