Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-05-15 15:02:49 +0300
committerTim-Philipp Müller <tim@centricular.com>2016-05-20 00:12:49 +0300
commit22166a9d5f4c9b28aa3e06a96b60abbc89de02fc (patch)
tree1071bee1820f61b75b1a9e267d7b4916d8881d9e
parent9dfcdec02b055b214411dd1965999d605605c2d5 (diff)
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
-rw-r--r--gst/gstpad.h2
1 files changed, 1 insertions, 1 deletions
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