Commit 96923c4f authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by GStreamer Marge Bot
Browse files

d3d11videosink: Fix MSVC build warnings around UWP code

gstd3d11window_corewindow.cpp(408): warning C4189:
  'storage': local variable is initialized but not referenced
gstd3d11window_corewindow.cpp(490): warning C4189:
  'self': local variable is initialized but not referenced
gstd3d11window_swapchainpanel.cpp(481): warning C4189:
  'self': local variable is initialized but not referenced

Part-of: <gstreamer/gst-plugins-bad!1962>
parent d16b5b7f
......@@ -405,7 +405,6 @@ gst_d3d11_window_core_window_create_swap_chain (GstD3D11Window * window,
IDXGISwapChain ** swap_chain)
{
GstD3D11WindowCoreWindow *self = GST_D3D11_WINDOW_CORE_WINDOW (window);
CoreWindowWinRTStorage *storage = self->storage;
ComPtr<IDXGISwapChain1> new_swapchain;
GstD3D11Device *device = window->device;
DXGI_SWAP_CHAIN_DESC1 desc1 = { 0, };
......@@ -487,8 +486,6 @@ gst_d3d11_window_core_window_unlock_stop (GstD3D11Window * window)
static void
gst_d3d11_window_core_window_update_swap_chain (GstD3D11Window * window)
{
GstD3D11WindowCoreWindow *self = GST_D3D11_WINDOW_CORE_WINDOW (window);
gst_d3d11_window_core_window_on_resize (window,
window->surface_width, window->surface_height);
......
......@@ -478,9 +478,6 @@ gst_d3d11_window_swap_chain_panel_unlock_stop (GstD3D11Window * window)
static void
gst_d3d11_window_swap_chain_panel_update_swap_chain (GstD3D11Window * window)
{
GstD3D11WindowSwapChainPanel *self =
GST_D3D11_WINDOW_SWAP_CHAIN_PANEL (window);
gst_d3d11_window_swap_chain_panel_on_resize (window, window->surface_width,
window->surface_height);
......
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