ways to pause the pipeline, something i am confused.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ways to pause the pipeline, something i am confused.

mingqian Han
Hi all,
    Say, I am going to pause the pipeline, in order to do some realtime change of some elements. I can set the pipeline to PAUSED state to achieve it, and I can also block some pads to pause the pipeline from playing.  What is the difference? Or limitations?

Thanks and regards,

Rafael


------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ways to pause the pipeline, something i am confused.

Marco Ballesio
Hi,

late reply and short, but maybe useful..

2010/12/9 mingqian Han <[hidden email]>:
> Hi all,
>     Say, I am going to pause the pipeline, in order to do some realtime
> change of some elements. I can set the pipeline to PAUSED state to achieve
> it, and I can also block some pads to pause the pipeline from playing.  What
> is the difference? Or limitations?

setting a pipelined to PAUSED state is the official way, blocking pads
isn't so, by using the second approach, you're going through a lot of
troubles where you may have separate threads (e.g. a tee with a
queue).

Regards

>
> Thanks and regards,
>
> Rafael
>
>
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel