pad: Improve IDLE probe docs

Make it explicit that the pad is only blocked while the callback is running,
and the pad will be unblocked again once the callback returned.

If BLOCK and IDLE behaviour is needed, both need to be used.

https://bugzilla.gnome.org/show_bug.cgi?id=766002
This commit is contained in:
Sebastian Dröge 2016-05-15 15:02:49 +03:00
parent 4f699387b0
commit edb27a8ec2

View file

@ -461,7 +461,7 @@ typedef gboolean (*GstPadForwardFunction) (GstPad *pad, gpointer user_data);
/**
* GstPadProbeType:
* @GST_PAD_PROBE_TYPE_INVALID: invalid probe type
* @GST_PAD_PROBE_TYPE_IDLE: probe idle pads and block
* @GST_PAD_PROBE_TYPE_IDLE: probe idle pads and block while the callback is called
* @GST_PAD_PROBE_TYPE_BLOCK: probe and block pads
* @GST_PAD_PROBE_TYPE_BUFFER: probe buffers
* @GST_PAD_PROBE_TYPE_BUFFER_LIST: probe buffer lists