[gstreamer-bugs] [Bug 618921] [dshowvideosink][PATCH] Replace CoIntialize with CoInitializeEx for bettrer integration with GStreamer threads
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue May 18 16:24:19 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=618921
GStreamer | gst-plugins-bad | git
Andoni Morales <ylatuya> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #161257|0 |1
is obsolete| |
--- Comment #3 from Andoni Morales <ylatuya at gmail.com> 2010-05-18 23:24:16 UTC ---
Created an attachment (id=161395)
View: https://bugzilla.gnome.org/attachment.cgi?id=161395
Review: https://bugzilla.gnome.org/review?bug=618921&attachment=161395
0001-dshowvideosink-initialize-and-deininitialize-COM-pro.patch
This patch tries to solve the COM mess.
It initializes COM in a MTA on a separate thread which will be the last one to
leave the MTA, and therefore COM will be uninitialized properly.
I though a CoInitializeEx/CoUninitialize pair call would be needed on each
thread calling a COM object, but it works as it is now.
Anyway CoInitializeEx/CoUninitialize pairs can be added safely because the last
thread to leave the MTA will the one the created it.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list