blob: ce1b6298d46b159c8a86dcbd5985d4518bb49f40 (
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
|
From 3f43fef3ce8cfd2f00d99d3a967e29c724fe8f2d Mon Sep 17 00:00:00 2001
From: Seungha Yang <seungha@centricular.com>
Date: Mon, 18 Jan 2021 19:23:30 +0900
Subject: [PATCH] d3d11videosink: Fix build error on UWP
gstd3d11videosink.c(662): error C2065: 'sink': undeclared identifier
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1961>
---
sys/d3d11/gstd3d11videosink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/d3d11/gstd3d11videosink.c b/sys/d3d11/gstd3d11videosink.c
index b4800ea57..6fb74e0bc 100644
--- a/sys/d3d11/gstd3d11videosink.c
+++ b/sys/d3d11/gstd3d11videosink.c
@@ -659,7 +659,7 @@ gst_d3d11_video_sink_prepare_window (GstD3D11VideoSink * self)
#if GST_D3D11_WINAPI_ONLY_APP
if (window_type != GST_D3D11_WINDOW_NATIVE_TYPE_CORE_WINDOW &&
window_type != GST_D3D11_WINDOW_NATIVE_TYPE_SWAP_CHAIN_PANEL) {
- GST_ERROR_OBJECT (sink, "Overlay handle must be set before READY state");
+ GST_ERROR_OBJECT (self, "Overlay handle must be set before READY state");
return FALSE;
}
#endif
--
2.17.1
|