Understanding Pad probe

Sebastian Dröge sebastian at centricular.com
Fri May 30 00:53:12 PDT 2014


On Do, 2014-05-29 at 07:28 -0700, Baby Octopus wrote:
> Hi,
> 
> Would like to understand what all pad probe can do. Is is it possible to
> find out if data is flowing through the pipeline using pad probe?

Yes, that would be a pad probe with type GST_PAD_PROBE_TYPE_BUFFER. It
will be called for every buffer that flows through the pad, and you can
get (and even modify/replace) the buffer via GstPadProbeInfo.data.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140530/95f36ee2/attachment.sig>


More information about the gstreamer-devel mailing list