[gst-devel] Plugin utilisation

Michael Smith msmith at xiph.org
Thu Jul 30 19:32:17 CEST 2009


On Thu, Jul 30, 2009 at 8:41 AM, raju03e<raju01e at gmail.com> wrote:
>
> Is it possible to use same plugin, in pipeline for two times.
> if possible what are the things should be taken care for writting that
> plugin.

A plugin can contain a number of different elements - using multiple
elements from the same plugin is fine.

You can also use multiple instances of the same element in a pipeline
with no trouble.

What you CANNOT do is use the same instance of an element in two
different places in a pipeline.

It's unclear which of the above things you were asking about - but the
only thing you need to take care of is that your elements may not use
global shared state; that's a basic gstreamer rule for all code.

Mike




More information about the gstreamer-devel mailing list