[gst-devel] A question about data passing inbetween 2 elements

Ronald S. Bultje rbultje at ronald.bitfreak.net
Sat Apr 2 13:57:10 CEST 2005


Hi,

On Sat, 2005-04-02 at 23:45 +0530, ecmproute wrote:
> How does data passing happen between 2 elements:
> Element1:srcpad->sinkpad:Element2
> 1. srcpad copies the data to sinkpad
> 2. srcpad gives a reference of the buffer, which the sinkpad accesses
> 
> Which of the above 2 methods are followed in Gstreamer....or is there
> any other way being followed?

The second, we do not copy data.

Ronald

-- 
Ronald S. Bultje <rbultje at ronald.bitfreak.net>





More information about the gstreamer-devel mailing list