[gstreamer-bugs] [Bug 618921] New: [dshowvideosink][PATCH] Replace CoIntialize with CoInitializeEx for bettrer integration with GStreamer threads

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 17 12:09:24 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=618921
  GStreamer | gst-openmax | git

           Summary: [dshowvideosink][PATCH] Replace CoIntialize with
                    CoInitializeEx for bettrer integration with GStreamer
                    threads
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-openmax
        AssignedTo: felipe.contreras at nokia.com
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=161257)
 View: https://bugzilla.gnome.org/attachment.cgi?id=161257
 Review: https://bugzilla.gnome.org/review?bug=618921&attachment=161257

0001-dshowvideosink-use-CoInitializeEx-for-multithread-su.patch

Current implementation uses CoInitialize and doesn't integrates well with
GStreamer's thread. 
An example is setting the element to NULL and back to PLAY. It will stop on
::start() trying to create a new instance of a direct show grap:
"Can't create an instance of the dshow graph manager (error=8000ffff)"
Using CoInitializeEx with COINIT_MULTITHREADED fixes this issue and allows to
implement preroll using #579926.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list