From ade8f281cb1e4f4e03fc3bfdf8a0b7b9ccd819c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Str=C3=B8mme?= Date: Wed, 9 Nov 2016 15:29:39 +0100 Subject: DirectShow: Add utility class Centralized place for helper functions etc. Change-Id: Ia4474d0681a37fc95a100a3766800141a8b1d900 Reviewed-by: Yoann Lopes --- src/plugins/directshow/dsserviceplugin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/plugins/directshow/dsserviceplugin.cpp') diff --git a/src/plugins/directshow/dsserviceplugin.cpp b/src/plugins/directshow/dsserviceplugin.cpp index 1c9d0eee1..4b84841bd 100644 --- a/src/plugins/directshow/dsserviceplugin.cpp +++ b/src/plugins/directshow/dsserviceplugin.cpp @@ -78,9 +78,11 @@ extern const CLSID CLSID_VideoInputDeviceCategory; #include #endif -QT_USE_NAMESPACE - +QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY(qtDirectShowPlugin, "qt.multimedia.plugins.directshow") +QT_END_NAMESPACE + +QT_USE_NAMESPACE static int g_refCount = 0; void addRefCount() -- cgit v1.2.3