diff options
author | Christian Strømme <christian.stromme@qt.io> | 2016-11-09 15:29:39 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2017-01-27 13:27:20 +0000 |
commit | ade8f281cb1e4f4e03fc3bfdf8a0b7b9ccd819c9 (patch) | |
tree | e7bc5a3f04cd143dd0120d1fbafaa57136bef918 /src/plugins/directshow/dsserviceplugin.cpp | |
parent | 57a4cabd78aba3d6c1dd4802b0e3baf5ed3e4758 (diff) |
DirectShow: Add utility class
Centralized place for helper functions etc.
Change-Id: Ia4474d0681a37fc95a100a3766800141a8b1d900
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/plugins/directshow/dsserviceplugin.cpp')
-rw-r--r-- | src/plugins/directshow/dsserviceplugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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 <ocidl.h> #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() |