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
e64a051e
Commit
e64a051e
authored
May 25, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: only use COM apartment thread for Shell Interfaces
(ref: MSDN KB 287087)
parent
33975668
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-3
modules/gui/qt4/main_interface_win32.cpp
modules/gui/qt4/main_interface_win32.cpp
+1
-3
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
e64a051e
...
@@ -1255,8 +1255,6 @@ void SPrefsPanel::assoDialog()
...
@@ -1255,8 +1255,6 @@ void SPrefsPanel::assoDialog()
{
{
HRESULT
hr
;
HRESULT
hr
;
hr
=
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
if
(
hr
==
RPC_E_CHANGED_MODE
)
hr
=
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
hr
=
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
if
(
SUCCEEDED
(
hr
)
)
if
(
SUCCEEDED
(
hr
)
)
{
{
...
...
modules/gui/qt4/main_interface_win32.cpp
View file @
e64a051e
...
@@ -119,9 +119,7 @@ void MainInterface::createTaskBarButtons()
...
@@ -119,9 +119,7 @@ void MainInterface::createTaskBarButtons()
p_taskbl
=
NULL
;
p_taskbl
=
NULL
;
himl
=
NULL
;
himl
=
NULL
;
HRESULT
hr
=
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
HRESULT
hr
=
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
if
(
hr
==
RPC_E_CHANGED_MODE
)
hr
=
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
if
(
FAILED
(
hr
)
)
if
(
FAILED
(
hr
)
)
return
;
return
;
...
...
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