[vlc-devel] [PATCH] DirectX/GDI: use COINIT_MULTITHREADED instead of COINIT_APARTMENTTHREADED
Steve Lhomme
robUx4 at videolabs.io
Wed Mar 18 12:05:55 CET 2015
The renderer may be updated in the DMO thread which uses COINIT_MULTITHREADED
---
modules/video_output/msw/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index 77679cd..987f260 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -283,7 +283,7 @@ static void CommonChangeThumbnailClip(vout_display_t *vd, bool show)
if (!GetVersionEx(&winVer) || winVer.dwMajorVersion <= 5)
return;
- if( FAILED(CoInitializeEx(NULL, COINIT_APARTMENTTHREADED)) )
+ if( FAILED(CoInitializeEx(NULL, COINIT_MULTITHREADED)) )
vlc_assert_unreachable();
void *ptr;
--
2.3.2
More information about the vlc-devel
mailing list