[gstreamer-bugs] [Bug 625190] New: Directshow decoders wrappers have COM initialization issues

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jul 24 07:36:17 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=625190
  GStreamer | gst-plugins-bad | git

           Summary: Directshow decoders wrappers have COM initialization
                    issues
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: julien at moutte.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: msmith at xiph.org
      GNOME target: ---
     GNOME version: ---


Currently these GSTreamer elements are almost unusable as they make
applications crash. The COM initialization code seems to be wrong.

As requested I am attaching here a proposed patch to improve those decoders
that is currently being used on the Moovida and Moovida Pro softwares.

This patch provides COM initialization/deinit from a thread created at object
creation. The object instance will wait for COM to be initialized before
starting any function call to the COM domain.

This has been tested on Windows 2000, Windows XP, Vista and Windows 7 and works
well.

This patch also includes some fixes to add some codecs fourcc (MSS1, VC1) and
fix Divx3.11 decoding. Another important problem fixed here is the registration
of the elements as this done with a global codec_entry variable and it's
completely racy making elements registered with wrong input caps.

-- 
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