Re: Pipeline stuck at paused, doesn't wanna go to playing

vinod kesti via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
Do not forget to sync new element to bin current state. Otherwise the new element will be in the NULL state only.


Sent from Yahoo Mail. Get the app 

    On Sunday, 11 June, 2023 at 02:11:04 am GMT-5, Eslam Ahmed via gstreamer-devel <[email protected]> wrote:  
 
 Hi,
Is there really a need to pause the pipeline before a new source?

Best Regards,
Eslam


On Thu, Jun 8, 2023 at 7:32 PM cfd new <[email protected]> wrote:

 I guess the proper procedure is 
1. stop the pipeline first2. disconnect the source element from the pipeline3. add/remove source4. reconnect 
5. play

    On Tuesday, June 6, 2023, 04:00:40 a.m. EDT, Eslam Ahmed via gstreamer-devel <[email protected]> wrote:  
 
 Hello,
I have a pipeline that I add/remove sources from it at runtime without changing the pipeline state. 
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.
What's the best way to debug such a scenario? What could the problem be?
Thanks in advance!
Best Regards,
Eslam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.