Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
72b2a691
Commit
72b2a691
authored
Oct 03, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wim32: use CoInitializeEx() instead of CoInitialize()
parent
fba54e1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+2
-2
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+1
-1
No files found.
modules/access/dshow/dshow.cpp
View file @
72b2a691
...
...
@@ -2019,7 +2019,7 @@ static int FindDevices( vlc_object_t *p_this, const char *psz_name,
list
<
string
>
list_devices
;
/* Initialize OLE/COM */
CoInitialize
(
0
);
CoInitialize
Ex
(
NULL
,
COINIT_APARTMENTTHREADED
);
FindCaptureDevice
(
p_this
,
NULL
,
&
list_devices
,
b_audio
);
...
...
@@ -2062,7 +2062,7 @@ static int ConfigDevicesCallback( vlc_object_t *p_this, char const *psz_name,
psz_device
=
strdup
(
newval
.
psz_string
);
/* Initialize OLE/COM */
CoInitialize
(
0
);
CoInitialize
Ex
(
NULL
,
COINIT_APARTMENTTHREADED
);
p_item
=
config_FindConfig
(
p_this
,
psz_name
);
...
...
modules/codec/dmo/dmo.c
View file @
72b2a691
...
...
@@ -1429,7 +1429,7 @@ static int EncOpen( vlc_object_t *p_this )
ldt_fs_t
*
ldt_fs
=
Setup_LDT_Keeper
();
#else
/* Initialize OLE/COM */
CoInitialize
(
0
);
CoInitialize
Ex
(
NULL
,
COINIT_APARTMENTTHREADED
);
#endif
/* LOADER */
if
(
LoadDMO
(
p_this
,
&
hmsdmo_dll
,
&
p_dmo
,
&
p_enc
->
fmt_out
,
true
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment