d3dvideosink: pass hidden window hwnd to GST_DEBUG, rather than NULL
authorAaron Boxer <aaron.boxer@collabora.com>
Sat, 7 Dec 2019 05:14:06 +0000 (23:14 -0600)
committerAaron Boxer <aaron.boxer@collabora.com>
Wed, 18 Dec 2019 18:15:05 +0000 (13:15 -0500)
sys/d3dvideosink/d3dhelpers.c

index af5fcfc..b39549e 100644 (file)
@@ -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,