[Bug 796160] Race when client sends some udp packets before play request

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 27 10:53:48 UTC 2018


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.14.2

--- Comment #10 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks, fixed indentation and rephrased wording in the commit message and
comment a bit:

commit c1fab570d8e845685b7e890b2a588314382c1ded (HEAD -> master)
Author: Göran Jönsson <goranjn at axis.com>
Date:   Wed Jun 27 08:30:42 2018 +0200

    rtsp-stream: avoid pushing data on unlinked udpsrc pad during setup

    Fix race when setting up source elements.

    Since we set the source element(s) to PLAYING state before hooking
    them up to the downstream funnel, it's possible for the source element
    to receive packets before we actually get to linking it to the funnel,
    in which case buffers would be pushed out on an unlinked pad, causing
    it to error out and stop receiving more data.

    We fix this by blocking the source's srcpad until we have linked it.

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

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