rtpbin: Can not stop pipe with EOS event

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Aug 19 12:12:38 PDT 2013


On Mon, 2013-08-19 at 16:02 +0200, Peter Randeu wrote:

Hi,

> is it somehow possible to stop a pipe that contains a rtpbin by sending 
> an EOS event to the pipe?
> 
> In this minimal example, the pipe ignores the EOS event and keeps 
> running: gst-launch-1.0 -ve rtpbin
> If I press crtl-c, I get the message "Waiting for EOS..." and nothing 
> happens. More complex pipes show the same behavior.
> 
> What is the correct way to stop a pipe that contains a rtpbin (and maybe 
> other elements like a muxer or a filesink, which are more picky about 
> the end of a stream)?

Usually there should be some sources in the pipeline as well. The EOS
event sent on the pipeline should then filter through to the sources,
where they should be injected into the pipeline as events and then
filter through to the sinks.

Cheers
 -Tim 



More information about the gstreamer-devel mailing list