[gst-devel] file descriptor sharing among different elements

Thomas Vander Stichele thomas at apestaart.org
Wed Jan 5 10:07:35 CET 2005


Hi,


> 1. does all the elements in the same pipeline run in the same process
> space?if so, can i use the file descriptor opened by one element in
> other    element?

Currently, they do.  There are plans to in the future have remote
pipelines (ie, in other processes, on other machines), but in that case
still you'd know and it'd be clear you can't pass the fd.

> 2. is there any way to know whether my neighbour elements support a
> particular interface. for example, i want to know whether the element
> connected to my sourcepad supports a mixer interface or not.

I think it should be easily doable; get the srcpad, get its parent,
which is the element, then check if it supports the interface.  Why
would you want to do this ?

Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
I'd give anything to see you baby
I'd give anything to see you smile
My baby doesn't want just anything
she wants everything
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/







More information about the gstreamer-devel mailing list