[gst-devel] ways to pause the pipeline, something i am confused.

Marco Ballesio gibrovacco at gmail.com
Sun Dec 19 16:01:40 CET 2010


Hi,

late reply and short, but maybe useful..

2010/12/9 mingqian Han <mq_han at hotmail.com>:
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list