<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The documentation was wrong indeed, fixed now:<br>
<br>
<a class="moz-txt-link-freetext" href="https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#gst_pad_add_probe">https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#gst_pad_add_probe</a><br>
<a class="moz-txt-link-freetext" href="https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#GstPadProbeCallback">https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#GstPadProbeCallback</a><br>
<br>
For future reference you can also find a pad probe example in
gst-python:<br>
<br>
<a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/gstreamer/gst-python/blob/master/examples/dynamic_src.py">https://gitlab.freedesktop.org/gstreamer/gst-python/blob/master/examples/dynamic_src.py</a><br>
<br>
Cheers!<br>
<br>
<div class="moz-cite-prefix">On 6/14/19 12:10 AM, pisymbol . wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPpy_fECtgx2m=-uaRNHE0vH+WwDMsGsgHVp6yrXOWo4XVkj1g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I am adding a probe to my src to do per frame
timetamping/gps tagging. Adding the pad is easy, but what are
the arguments to this callback?<br>
</div>
<div><br>
</div>
<div>Line of code:</div>
<div><br>
</div>
<div>self.nvcam0_pad.add_probe(Gst.PadProbeType.BUFFER,
self.on_probe, None, None)</div>
<div><br>
</div>
<div>Doc (to show I care!):<br>
</div>
<div><br>
</div>
<div><a
href="https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#GstPadProbeCallback"
moz-do-not-send="true">https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#GstPadProbeCallback</a></div>
<div><br>
</div>
<div>...says there are three. But the interpreter claims there
are five? What are the five and does the doc need updating?<br>
</div>
<div><br>
</div>
<div>Thanks!<br>
</div>
<div>-</div>
<div>aps<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
</body>
</html>