Gst.PadProbeCallback?
Antonio Ospite
ao2 at ao2.it
Fri Jun 14 06:54:42 UTC 2019
On Thu, 13 Jun 2019 18:10:17 -0400
"pisymbol ." <pisymbol at gmail.com> 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?
>
How do you define self.on_probe()?
Ciao,
Antonio
--
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
More information about the gstreamer-devel
mailing list