mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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>
This commit is contained in:
parent
0158849145
commit
3f43fef3ce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue