mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
pad: Document the order in which pad probes are called
https://bugzilla.gnome.org/show_bug.cgi?id=757197
This commit is contained in:
parent
2dfa548f36
commit
1493f4a334
1 changed files with 7 additions and 0 deletions
|
@ -1324,6 +1324,13 @@ cleanup_hook (GstPad * pad, GHook * hook)
|
|||
* Be notified of different states of pads. The provided callback is called for
|
||||
* every state that matches @mask.
|
||||
*
|
||||
* Probes are called in groups: First GST_PAD_PROBE_TYPE_BLOCK probes are
|
||||
* called, then others, then finally GST_PAD_PROBE_TYPE_IDLE. The only
|
||||
* exception here are GST_PAD_PROBE_TYPE_IDLE probes that are called
|
||||
* immediately if the pad is already idle while calling gst_pad_add_probe().
|
||||
* In each of the groups, probes are called in the order in which they were
|
||||
* added.
|
||||
*
|
||||
* Returns: an id or 0 if no probe is pending. The id can be used to remove the
|
||||
* probe with gst_pad_remove_probe(). When using GST_PAD_PROBE_TYPE_IDLE it can
|
||||
* happen that the probe can be run immediately and if the probe returns
|
||||
|
|
Loading…
Reference in a new issue