blob: 5c5b2556e9a8a0810b09bf9a9342364837d7880e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From abe876ba634e7f817a24d2e972e5437a78ac2871 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 24 Sep 2018 20:10:19 +0200
Subject: [PATCH 3/3] Link directshow plugin against libamstrmid
Fixes errors about undefined references to IID_IMFVideoDeviceID,
IID_IMFVideoPresenter, IID_IMFTopologyServiceLookupClient and
IID_IMFTopologyServiceLookupClient when building dsengine.dll.
---
src/plugins/directshow/directshow.pro | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/plugins/directshow/directshow.pro b/src/plugins/directshow/directshow.pro
index e531efc5..862a6673 100644
--- a/src/plugins/directshow/directshow.pro
+++ b/src/plugins/directshow/directshow.pro
@@ -5,6 +5,12 @@ win32:!qtHaveModule(opengl)|qtConfig(dynamicgl) {
LIBS_PRIVATE += -lgdi32 -luser32
}
+# add library containing IID_IMFVideoDeviceID, IID_IMFVideoPresenter, IID_IMFTopologyServiceLookupClient
+# and IID_IMFTopologyServiceLookupClient
+mingw {
+ LIBS_PRIVATE += -lamstrmid
+}
+
HEADERS += dsserviceplugin.h
SOURCES += dsserviceplugin.cpp
--
2.22.0
|