<div dir="ltr"><div dir="ltr"><div dir="ltr"><p><span lang="EN-US">Hello,<br>
<br>
I am learning GStreamer in recent months, and I am trying to link and unlink
elements to the tee multiple times.<span></span></span></p><p><span lang="EN-US">I create a queue element with an appsink element, and I
have a tee element.<span></span></span></p><p><span lang="EN-US">Then I use a loop to link and unlink the queue element with
the tee element periodically.<span></span></span></p><p><span lang="EN-US">I check the amount of data received by the appsink in each
time linked, it works at the beginning.<span></span></span></p><p><span lang="EN-US">But after letting the program run for a long while, the
appsink never receives new data every time linked.<span></span></span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US">I have a short sample here, and I add some comments on it: <a href="https://dci2l49av9uew.cloudfront.net/TestPipeline.java">https://dci2l49av9uew.cloudfront.net/TestPipeline.java</a><span></span></span></p><p><span lang="EN-US">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.<span></span></span></p><p><span lang="EN-US">And I also set GST_DEBUG=4 to get the log<span></span></span></p><p><span lang="EN-US">Succ log: <a href="https://dci2l49av9uew.cloudfront.net/succ_log.txt">https://dci2l49av9uew.cloudfront.net/succ_log.txt</a><span></span></span></p><p><span lang="EN-US">Fail log: <a href="https://dci2l49av9uew.cloudfront.net/fail_log.txt">https://dci2l49av9uew.cloudfront.net/fail_log.txt</a><span></span></span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US">I referred to some examples and materials on the internet,
but this issue still happens.<span></span></span></p><p style="margin-bottom:12pt"><span lang="EN-US">Would anyone help me to figure
out the problem?<span></span></span></p><p><span lang="EN-US">Thank you very much.<span></span></span></p><p>





























</p><p class="MsoNormal"><span lang="EN-US"> </span></p></div></div></div>