<div dir="ltr">Hi,<div><br></div><div>Is there really a need to pause the pipeline before a new source?<br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam<div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 8, 2023 at 7:32 PM cfd new <<a href="mailto:newcfd@yahoo.com">newcfd@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div></div>
<div dir="ltr">I guess the proper procedure is <br></div><div dir="ltr">1. stop the pipeline first</div><div dir="ltr">2. disconnect the source element from the pipeline</div><div dir="ltr">3. add/remove source</div><div dir="ltr">4. reconnect <br></div><div dir="ltr">5. play<br></div><div><br></div>
</div><div id="m_2310752574547880037yahoo_quoted_6907926586">
<div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
<div>
On Tuesday, June 6, 2023, 04:00:40 a.m. EDT, Eslam Ahmed via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="m_2310752574547880037yiv0521077983"><div dir="ltr">Hello,<div><br></div><div>I have a pipeline that I add/remove sources from it at runtime without changing the pipeline state. </div><div><br></div><div>At some point, the pipeline changes state from PAUSED to PAUSED all of a sudden. In which case I move the pipeline to PLAYING after which the current state becomes PAUSED and the PENDING STATE becomes PLAYING yet it gets stuck in this state indefinitely and the newly added source doesn't go to playing state. However, other sources are still playing.</div><div><br></div><div>What's the best way to debug such a scenario? What could the problem be?</div><div><br></div><div>Thanks in advance!</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam<div><br></div></div></div></div></div></div>
</div></div>
</div>
</div></div></blockquote></div>