From e4dca02731408afe3fe4d537b75e8603aa0f5b10 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 23 Jan 2023 11:38:27 +0100 Subject: Proper clearing of WinRT factory cache in QtMultimedia Use the factory-cache-cleaner registration developed in qtbase/ffb9dee1b0954e4d4f9e9791175609a80ecafc31 to make QtMultimedia play its part in fixing QTBUG-103611. Amends a1ab441d8a13ae2245cf0d136ef5e4060d95dcc9 with functionality merged later. Pick-to: 6.5 Task-number: QTBUG-103611 Change-Id: I62a516addd886fdc329f8539b724b38fd0136609 Reviewed-by: Volker Hilsheimer Reviewed-by: Lars Knoll --- src/plugins/multimedia/ffmpeg/qffmpegscreencapture_uwp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_uwp.cpp b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_uwp.cpp index 4be9fd5e1..173d7f438 100644 --- a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_uwp.cpp +++ b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_uwp.cpp @@ -7,6 +7,7 @@ #include #include +#include // Workaround for Windows SDK bug. // See https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/47 namespace winrt::impl -- cgit v1.2.3