From edb27a8ec26dfc6d8f7db8c29a7b0b14053f26a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 15 May 2016 15:02:49 +0300 Subject: [PATCH] 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 --- gst/gstpad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstpad.h b/gst/gstpad.h index 4a465c9a92..017ae48f28 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -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