Gst.PadProbeCallback?

Mathieu Duponchelle mathieu at centricular.com
Fri Jun 14 16:38:19 UTC 2019


The documentation was wrong indeed, fixed now:

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#GstPadProbeCallback

For future reference you can also find a pad probe example in gst-python:

https://gitlab.freedesktop.org/gstreamer/gst-python/blob/master/examples/dynamic_src.py

Cheers!

On 6/14/19 12:10 AM, pisymbol . wrote:
> 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?
>
> Line of code:
>
> self.nvcam0_pad.add_probe(Gst.PadProbeType.BUFFER, self.on_probe, None, None)
>
> Doc (to show I care!):
>
> https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=python#GstPadProbeCallback
>
> ...says there are three. But the interpreter claims there are five? What are the five and does the doc need updating?
>
> Thanks!
> -
> aps
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190614/93fbf81a/attachment-0001.html>


More information about the gstreamer-devel mailing list