[gst-devel] Re: [gst-cvs] thomasvs gstreamer: gstreamer/docs/random/ds/

Thomas Vander Stichele thomas at apestaart.org
Thu Jul 8 10:37:18 CEST 2004


On Thu, 2004-07-08 at 19:30, Ronald Bultje wrote:
> Hi,
> 
> On Thu, 8 Jul 2004, Thomas Vander Stichele wrote:
> > + - make gst_bin_get_list virtual so subclasses can override it (e.g.
> > +   gst-play which contains an internal thread not inside the bin that is
> > +   gstplay)
> 
> Isn't that a gstplay bug? If it pretends to be a bin, it should behave
> like one.

But it is free to choose how to implement "bin behaviour".  In our
current design, the only way to do typefinding/preroll/... before the
element goes to PLAY is by having the element have a second pipeline not
contained inside itself.

There are other reasons why a bin should be able to virtualize this
function - if add and remove are virtualized, then so should get_list be
since a bin can very well chose to override add and remove in such a way
that they're not actually inside the bin.

Thomas






More information about the gstreamer-devel mailing list