mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1962>
This commit is contained in:
parent
d16b5b7f7f
commit
96923c4fa2
2 changed files with 0 additions and 6 deletions
|
@ -405,7 +405,6 @@ gst_d3d11_window_core_window_create_swap_chain (GstD3D11Window * window,
|
||||||
IDXGISwapChain ** swap_chain)
|
IDXGISwapChain ** swap_chain)
|
||||||
{
|
{
|
||||||
GstD3D11WindowCoreWindow *self = GST_D3D11_WINDOW_CORE_WINDOW (window);
|
GstD3D11WindowCoreWindow *self = GST_D3D11_WINDOW_CORE_WINDOW (window);
|
||||||
CoreWindowWinRTStorage *storage = self->storage;
|
|
||||||
ComPtr<IDXGISwapChain1> new_swapchain;
|
ComPtr<IDXGISwapChain1> new_swapchain;
|
||||||
GstD3D11Device *device = window->device;
|
GstD3D11Device *device = window->device;
|
||||||
DXGI_SWAP_CHAIN_DESC1 desc1 = { 0, };
|
DXGI_SWAP_CHAIN_DESC1 desc1 = { 0, };
|
||||||
|
@ -487,8 +486,6 @@ gst_d3d11_window_core_window_unlock_stop (GstD3D11Window * window)
|
||||||
static void
|
static void
|
||||||
gst_d3d11_window_core_window_update_swap_chain (GstD3D11Window * window)
|
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,
|
gst_d3d11_window_core_window_on_resize (window,
|
||||||
window->surface_width, window->surface_height);
|
window->surface_width, window->surface_height);
|
||||||
|
|
||||||
|
|
|
@ -478,9 +478,6 @@ gst_d3d11_window_swap_chain_panel_unlock_stop (GstD3D11Window * window)
|
||||||
static void
|
static void
|
||||||
gst_d3d11_window_swap_chain_panel_update_swap_chain (GstD3D11Window * window)
|
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,
|
gst_d3d11_window_swap_chain_panel_on_resize (window, window->surface_width,
|
||||||
window->surface_height);
|
window->surface_height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue