Re: Pipeline stuck at paused, doesn't wanna go to playing
Eslam Ahmed via gstreamer-devel <[email protected]>
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAHhP+SS60B3ROTjUV80hxM-tm1Yf==4yb4CTQLyj9_iKzDbMEQ@mail.gmail.com> |
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 first > 2. disconnect the source element from the pipeline > 3. add/remove source > 4. 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 > >