[gstreamer-bugs] [Bug 630455] New: rtpbin: Handle late recv_rtp_src_events gracefully

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 23 11:08:47 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=630455
  GStreamer | gst-plugins-good | unspecified

           Summary: rtpbin: Handle late recv_rtp_src_events gracefully
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: havard.graff at tandberg.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


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

patch

The event could easily arrive as the rtpbin is shutting down, and
could then not find a bin and/or session.

Add locking and checking for bin and session, and keep a ref to the
pad outside the lock.

Since this is a race, it does not make sense not to handle it properly,
so g_warning is too strong. Also, when it happens, the event needs to
be unreffed.

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