[Bug 746302] New: gstpad: relinking outside streaming thread sometimes results in events getting lost

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 16 09:40:40 PDT 2015


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

            Bug ID: 746302
           Summary: gstpad: relinking outside streaming thread sometimes
                    results in events getting lost
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: matej.knopp at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 299530
  --> https://bugzilla.gnome.org/attachment.cgi?id=299530&action=edit
Patch

The problem that's quite racy and difficult to reproduce. Basically we are
relinking element outside streaming thread, which occasionally results in some
sticky events getting lost.

The problem is in push_sticky. While the gst_pad_push_event_unchecked call is
in progress, the pad peer changes. But regardless of that, ev->received is set
to TRUE.

Patch corrects this by checking if the peerpad really has received the event.
If not, it will be resend in next check_sticky.

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