element's state change function

Tim Müller tim at centricular.com
Mon Jan 27 07:21:46 PST 2014


On Mon, 2014-01-27 at 18:21 +0530, Yogesh Tyagi wrote:


> And if Gstreamer changes element's state in a singlethread, is there
> any particular order in which state of the elements are changed?

Yes, state changes happen topologically from sink to source.

You can't make any assumptions about any particular thread being used.

http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-states.txt

has some more details.

 Cheers
  -Tim

> 
> 
> On Mon, Jan 27, 2014 at 6:04 PM, Yogesh Tyagi
> <yogesh.bit2006 at gmail.com> wrote:
>         Hi,
>         
>         
>         Does gstreamer change state of individual elements in pipeline
>         in separate threads or in a single thread?
>         
>         
>         Thanks,
>         Yogesh
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list