From c4ded54241c92f3032e50e19654602b4706d04c8 Mon Sep 17 00:00:00 2001 From: Luca Carlon Date: Sat, 14 Jul 2018 18:03:07 +0200 Subject: 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 --- config_help.txt | 1 + src/multimedia/configure.json | 1 + 2 files changed, 2 insertions(+) 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 ... 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" ] }, -- cgit v1.2.3