[Bug 734342] pad: allow probes to remove the data item whilst returning PROBE_OK

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 2 16:11:52 PDT 2015


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

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

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks, thought I'd pushed that ages ago.

commit 5deb4f658e1673c38364fc6277a4e26df5a60609
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Wed Aug 6 10:32:39 2014 +0100

    pad: allow probes to remove the data item whilst returning PROBE_OK

    Use case: we want to block the source pad of a leaky queue and
    drop the buffer that causes the block. If we return PROBE_DROP
    then the buffer gets dropped, but we get called again. If we
    return PROBE_OK we can't easily drop the buffer. If we just
    replace the item into the GstPadProbeInfo structure with NULL,
    GStreamer will push a NULL buffer to the next element when we
    unblock the pad probe. This patch ensures it doesn't do that.

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

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