From 8710eb0656731120d6fcd457615d1f73b8f9432c Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Fri, 6 Dec 2019 23:14:06 -0600 Subject: [PATCH] d3dvideosink: pass hidden window hwnd to GST_DEBUG, rather than NULL --- sys/d3dvideosink/d3dhelpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/d3dvideosink/d3dhelpers.c b/sys/d3dvideosink/d3dhelpers.c index af5fcfc..b39549e 100644 --- a/sys/d3dvideosink/d3dhelpers.c +++ b/sys/d3dvideosink/d3dhelpers.c @@ -2582,7 +2582,7 @@ d3d_class_display_device_create (GstD3DVideoSinkClass * klass, UINT adapter) device->present_params.MultiSampleType = D3DMULTISAMPLE_NONE; device->present_params.PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT; /* D3DPRESENT_INTERVAL_IMMEDIATE; */ - GST_DEBUG ("Creating Direct3D device for hidden window %p", NULL); + GST_DEBUG ("Creating Direct3D device for hidden window %p", hwnd); if ((hr = IDirect3D9_CreateDevice (d3d, adapter, D3DDEVTYPE_HAL, hwnd, create_mask, &device->present_params, -- 2.7.4