mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #306866 from seanybaggins/fix-mingw-support-qtmultimedia
This commit is contained in:
commit
6d5a3ac5bb
@ -37,7 +37,9 @@ qtModule {
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ gstreamer gst-plugins-base gst-plugins-good gst-libav gst-vaapi ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ VideoToolbox ];
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.isMinGW [
|
||||
patches = [
|
||||
../patches/fix-qtgui-include-incorrect-case.patch
|
||||
] ++ lib.optionals stdenv.hostPlatform.isMinGW [
|
||||
../patches/qtmultimedia-windows-no-uppercase-libs.patch
|
||||
../patches/qtmultimedia-windows-resolve-function-name.patch
|
||||
];
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
index affa52d..b71b461 100644
|
||||
--- a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
+++ b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <private/qabstractvideobuffer_p.h>
|
||||
#include <private/qmultimediautils_p.h>
|
||||
#include <private/qwindowsmultimediautils_p.h>
|
||||
-#include <qtgui/qscreen_platform.h>
|
||||
+#include <QtGui/qscreen_platform.h>
|
||||
#include "qvideoframe.h"
|
||||
|
||||
#include <qloggingcategory.h>
|
Loading…
Reference in New Issue
Block a user