[Bug 768154] New: d3dvideosink: start/stop concurrency between multiple sinks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 28 20:22:55 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768154

            Bug ID: 768154
           Summary: d3dvideosink: start/stop concurrency between multiple
                    sinks
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jroy at adetelgroup.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 330505
  --> https://bugzilla.gnome.org/attachment.cgi?id=330505&action=edit
0004-d3dvideosink-start-stop-lock.patch

Concurrent start/stop actions on multiple d3dvideosink instances running in
parallel (distinct pipelines) may cause a crash. There is already a class mutex
that is properly used in d3d_class_init and d3d_class_destroy, but it is
momentarily released in both functions to let the window proc thread proceed.
This opens up a breach for simultaneous start and/or stop calls to conflict,
even on distinct sink instances.

Attached patch introduces another class mutex to serialize concurrent starts
and stops.

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