GStreamer Application Development Manual (0.8.10) | ||
---|---|---|
<<< Previous | Foundations | Next >>> |
A bin is a container for a collection of elements. A pipeline is a special subtype of a bin that allows execution of all of its contained child elements. Since bins are subclasses of elements themselves, you can mostly control a bin as if it where an element, thereby abstracting away a lot of complexity for your application. You can, for example change state on all elements in a bin by changing the state of that bin itself. Bins also forward some signals from their contained childs (such as errors and tags).
A pipeline is a bin that allows to run (technically referred to as "iterating") its contained childs. By iterating a pipeline, data flow will start and media processing will take place. A pipeline requires iterating for anything to happen. you can also use threads, which automatically iterate the contained childs in a newly created threads. We will go into this in detail later on.
<<< Previous | Home | Next >>> |
Foundations | Up | Pads |