[Bug 748643] gstpad: Add a new GST_PROBE_HANDLED return value for probes

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 15 08:01:38 PDT 2015


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

Edward Hervey <bilboed at bilboed.com> changed:

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

--- Comment #11 from Edward Hervey <bilboed at bilboed.com> ---
commit 7f0e0ff3ca4f3533e66843c084d084517cff4d47
Author: Edward Hervey <edward at centricular.com>
Date:   Wed Apr 29 15:49:17 2015 +0200

    gstpad: Add a new GST_PROBE_HANDLED return value for probes

    In some cases, probes might want to handle the buffer/event/query
    themselves and stop the data from travelling further downstream.

    While this was somewhat possible with buffer/events and using
    GST_PROBE_DROP, it was not applicable to queries, and would result
    in the query failing.

    With this new GST_PROBE_HANDLED value, the buffer/event/query will
    be considered as successfully handled, will not be pushed further
    and the appropriate return value (TRUE or GST_FLOW_OK) will be returned

    This also allows probes to return a non-default GstFlowReturn when dealing
    with buffer push. This can be done by setting the
    GST_PAD_PROBE_INFO_FLOW_RETURN() field accordingly

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

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