Commit 3f43fef3 authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

d3d11videosink: Fix build error on UWP

gstd3d11videosink.c(662): error C2065: 'sink': undeclared identifier

Part-of: <gstreamer/gst-plugins-bad!1961>
parent 01588491
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment