Can we check when an element's sink pad receives a buffer to add custom data to it

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can we check when an element's sink pad receives a buffer to add custom data to it

Nostalgia
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Can we check when an element's sink pad receives a buffer to add custom data to it

Arjen Veenhuizen
Yes, you are looking for buffer probes, see
https://gstreamer.freedesktop.org/documentation/design/probes.html and
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-add-probe

You can change the data in the buffer as well, but someone else can probably
explain it better than I can;). W.r.t. metadata: AFAIK not all elements pass
metadata transparently (but that might have changed in 1.12/1.14).



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel