[gst-devel] concept of state of bins

Colin Walters walters at verbum.org
Sat Oct 4 22:26:01 CEST 2003


On Sat, 2003-10-04 at 06:39, Thomas Vander Stichele wrote:

> Suppose B stays at NULL, what should happen if pipeline is set to
> PLAYING when it already was because of A ? Should it ignore the state
> change since it's already in the requested state ? Should it recursively
> set state on all children ? (right now, HEAD ignores the state change).

It should recursively set the state on all children, in my opinion. 
This is how Rhythmbox uses it now, and I think it makes sense. 
Otherwise you would always have to keep refs around to the various
sub-elements and carefully coordinate state.





More information about the gstreamer-devel mailing list