Dynamic request pad

Tim Müller tim at centricular.com
Sat Nov 30 02:02:29 PST 2013


Hi,

> While linking the pads should the pipeline be paused or it can be in
> running state? 

Usually you link pads before the pipeline is started (in NULL state) or dynamically after dataflow has started (PAUSED/PLAYING). The overall state of the pipeline is usually of little concern for most elements in the middle (not sources/sinks), and even less so for pads. Even if the pipeline is in PAUSED state, there may still be dataflow happening in some parts of the pipeline.

So in short: it's fine to request and link pads from tee at any time.
 
> Also, the procedure for unlinking is just the reverse of linking. Isn't
> it?

yes.

Cheers
 -Tim
 
> ~BO
> 
> 
> 
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Dynamic-request-pad-tp4663714p4663719.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list