<html><head></head><body><div class="ydpcfc621dbyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">I guess the proper procedure is <br></div><div dir="ltr" data-setdir="false">1. stop the pipeline first</div><div dir="ltr" data-setdir="false">2. disconnect the source element from the pipeline</div><div dir="ltr" data-setdir="false">3. add/remove source</div><div dir="ltr" data-setdir="false">4. reconnect <br></div><div dir="ltr" data-setdir="false">5. play<br></div><div><br></div>
        
        </div><div id="yahoo_quoted_6907926586" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, June 6, 2023, 04:00:40 a.m. EDT, Eslam Ahmed via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv0521077983"><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" class="yiv0521077983gmail_signature"><div dir="ltr">Best Regards,<br>Eslam<div><br></div></div></div></div></div></div>
</div></div>
            </div>
        </div></body></html>