[gst-devel] getting element by name without knowing it's parent

Thành Trung Nguyễn trungnthut at gmail.com
Tue Oct 6 05:11:35 CEST 2009

Ok, thanks for your answer !

On Tue, Oct 6, 2009 at 12:17 AM, Michael Smith <msmith at xiph.org> wrote:

> 2009/10/4 Thành Trung Nguyễn <trungnthut at gmail.com>:
> > I think the bin is the element parents. But I wonder if I can get an
> element
> > by name before put it into a bin. Can I do it ?
> If it's not inside anything (bin, pipeline, etc.), then you can't do
> that - either you have a direct reference to the object (in which case
> you could just use it), or you don't - in which case the object should
> have been freed, because its refcount will be zero.
> There's no global registry of
> currently-instantiated-gstreamer-elements in which to look something
> up by name.
> Mike
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Cheers !

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091006/6cd9d511/attachment.htm>

More information about the gstreamer-devel mailing list