<div dir="ltr">Hi all,<br>          I Have a pipeline with multiple inputs to a videmomixer:<br><br>filesrc location=test.mp4 ! decodebin2 ! queue2 ! videomixer name=mix<br>filesrc location=test2.mp4 ! decodebin2 ! queue2 ! mix.<br>
....<br>filesrc location=testN.mp4 ! decodebin2 ! queue2 ! mix.<br><br>Then I encode and mux the stream:<br><br>mix. !  x264enc ! matroskamux ! filesink location=test.mkv<br><br><br>Later in a python program I change the filesrc and decoder on run-time.<br>
The probem occurs when I change the state of one filesrc/decoder from NULL to PLAYING<br>I've seen the logs and the state changes  are propagated to all the elements in the pipeline.<br><br>This is a problem for me because sometimes I've had a filesrc/decoder on NULL state and<br>
I dont want to set it to PLAYING state when  I've changed the state of another filesrc/decoder.<br>(This happens for example when I want to change two inputs at the same time)<br><br>I've tried using a bin with the filesrc and decoder, but the state propagates the same way.<br>
<br>How can I limit the scope of a state change?<br><br><br>Thanks.</div>