dxgiscreencapsrc: Add missing debug category init
authorSeungha Yang <seungha@centricular.com>
Mon, 29 Jun 2020 17:48:50 +0000 (02:48 +0900)
committerSeungha Yang <seungha@centricular.com>
Mon, 29 Jun 2020 17:51:14 +0000 (02:51 +0900)
This should've been addressed in the commit 90420620722d4490ecfb4ade046b95d214f993d9
but I was missed it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1383>

sys/winscreencap/gstwinscreencap.c

index 9224cde..d62ffff 100644 (file)
@@ -72,6 +72,8 @@ plugin_init (GstPlugin * plugin)
     return FALSE;
   }
 #ifdef HAVE_DXGI_CAP
+  GST_DEBUG_CATEGORY_INIT (gst_dxgi_screen_cap_src_debug,
+      "dxgiscreencapsrc", 0, "DirectX DXGI screen capture source");
   gst_dxgi_screen_cap_src_register (plugin, GST_RANK_NONE);
 #endif