[gst-devel] General question regarding the Input-selector plug-in

joh joh.vlcdev at gmail.com
Fri Jul 17 01:24:43 CEST 2009


Hi!

My application has two rtsp live streams and two input selectors to switch
between them. One noticeable thing is that the switching causes around 3 sec
delay. I played with properties of some plug-ins and found that the delay is
controllable with "latency" property of rtspsrc emlement. It seems like
switching event let the rtspsrc drops current buffer and do buffering again.

Here goes my question:
Is this expected behavior? If yes, why is that? Is there any good reason to
do this? I think switching at input-selector and buffering at rtspsrc should
not be associated.

The input-selector documentation said, when it switches its input, the first
thing happens in there is blocking the all the sink pads. The actual code do
this job by locking the input-selector object. May LOCK cause some effect to
the other elements linked to input selector?

I am pretty much newbie in the gstreamer world. Any types of explanation is
welcome.

Thank you in advance!

Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090716/5213cf94/attachment.htm>


More information about the gstreamer-devel mailing list