Skip to content
Snippets Groups Projects
Commit 2b7c169c authored by Ingo Bauersachs's avatar Ingo Bauersachs
Browse files

Call CoInitialize on AEC init

parent 12bec2e4
No related branches found
No related tags found
No related merge requests found
...@@ -1148,6 +1148,13 @@ public long initializeAEC() ...@@ -1148,6 +1148,13 @@ public long initializeAEC()
long iPropertyStore = 0; long iPropertyStore = 0;
long aecIMediaObject = 0; long aecIMediaObject = 0;
/*
* XXX Multiple threads may invoke the initialization of a DeviceSystem
* so we cannot be sure that the COM library has been initialized for
* the current thread.
*/
WASAPISystem.CoInitializeEx();
try try
{ {
iMediaObject iMediaObject
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment