summaryrefslogtreecommitdiff
path: root/sys/d3d11/gstd3d11overlaycompositor.cpp
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-09-11 00:43:26 +0900
committerSeungha Yang <seungha@centricular.com>2021-09-17 00:48:45 +0900
commit4f45828641a566c2205f166426f532fcafd5f1f2 (patch)
tree3f836584fb8673deaa21b0dd1248305a7a2207ac /sys/d3d11/gstd3d11overlaycompositor.cpp
parent48474d3cf77f91702cc2219ea17ceed881c372ae (diff)
downloadgstreamer-plugins-bad-4f45828641a566c2205f166426f532fcafd5f1f2.tar.gz
d3d11: Get rid of "extern "C"" wrapping for GST_DEBUG_CATEGORY_EXTERN
Instead, change the file defining debug category to cpp Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2525>
Diffstat (limited to 'sys/d3d11/gstd3d11overlaycompositor.cpp')
-rw-r--r--sys/d3d11/gstd3d11overlaycompositor.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/d3d11/gstd3d11overlaycompositor.cpp b/sys/d3d11/gstd3d11overlaycompositor.cpp
index b09ca9c5b..b2dd65330 100644
--- a/sys/d3d11/gstd3d11overlaycompositor.cpp
+++ b/sys/d3d11/gstd3d11overlaycompositor.cpp
@@ -26,15 +26,12 @@
#include "gstd3d11pluginutils.h"
#include <wrl.h>
-/* *INDENT-OFF* */
-using namespace Microsoft::WRL;
-
-G_BEGIN_DECLS
-
GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_overlay_compositor_debug);
#define GST_CAT_DEFAULT gst_d3d11_overlay_compositor_debug
-G_END_DECLS
+/* *INDENT-OFF* */
+using namespace Microsoft::WRL;
+
typedef struct
{
struct {