Question about changing elements using probe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Question about changing elements using probe


I have some questions about changing elements using probe (see

It mentions “Inside the block callback nothing is flowing between element1
and element2 and nothing will flow until (element1 src) unblocked.”

In element1 srcpad’s block callback pad_probe_cb(), the probe is removed
(unblocked?) first, an event probe is installed on element2’s source pad,
and then EOS is pushed to element2’s sink pad.

Does removing the block probe is to unblock element1 srcpad? If element1
srcpad is unblocked, data continues to flow from element1 to element2. Will
data be lost before element2’s event_probe_cb() is called, in which element2
is removed and element4 is added?


Sent from:
gstreamer-devel mailing list
[hidden email]