[gst-devel] how to obtain pipeline-id in the gst-plugin ?

Edward Hervey bilboed at gmail.com
Wed Jan 24 18:06:53 CET 2007

On 1/24/07, Vinayak <vinayak.pane at gmail.com> wrote:
> Hi Everybody,
> Is there any way to obtain running pipeline-id in the gst-plugin code ?
> Actually, my requirement is to support multiple pipelines in the single
> application. In my gst-plugin I'm suppose to open some display device ..
> which can not be directly shared with other pipelines or other threads. For
> supporting multiple  threads I have fetched PID in my gst-plugin. But What
> if the application wants to have multiple pipeline running in single
> application where I receive the same PID.
> For this purpose I want to use pipeline-id as a unique value to
> differentiate among the pipelines. I could see that the pipeline is
> registered as element in gst-registry.
> Please through some pointers on this.

  My pointer (no pun intended) would be ... to use the address of the
pipeline object. I can't think of a more unique id.

  gpointer myid = pipeline;

> Thanks,
> ./v
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Edward Hervey
Multimedia editing developer / Fluendo S.A.

More information about the gstreamer-devel mailing list