Link/Unlink elements to tee question
lightbulb01 at gmail.com
Thu Nov 25 01:37:04 UTC 2021
I am learning GStreamer in recent months, and I am trying to link and
unlink elements to the tee multiple times.
I create a queue element with an appsink element, and I have a tee element.
Then I use a loop to link and unlink the queue element with the tee element
I check the amount of data received by the appsink in each time linked, it
works at the beginning.
But after letting the program run for a long while, the appsink never
receives new data every time linked.
I have a short sample here, and I add some comments on it:
I connect the tee source pad with the queue sink pad when linking. And I
wait for the tee source pad to be idle and disconnect/release the tee
source pad when unlinking.
And I also set GST_DEBUG=4 to get the log
Succ log: https://dci2l49av9uew.cloudfront.net/succ_log.txt
Fail log: https://dci2l49av9uew.cloudfront.net/fail_log.txt
I referred to some examples and materials on the internet, but this issue
Would anyone help me to figure out the problem?
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel