Friday, March 27, 2009

New feature on gst-launch

Now you can add the flag --eos-on-shutdown (or simply -e), meaning that you want it to send EOS to the pipeline even when you stop it by sending a sigint (ctrl + c). This way, the EOS will travel through the elements, and they can finish properly their work. This is important for muxers.

When -e is enabled, if you press ctrl+c and it hangs while waiting for the EOS, just press again and the default behaviour will be executed (shut down the pipeline immediately and quit).

A example use case for the feature: to receive and mux live streams using gst-launch.

For the devels: the commit - the bug

No comments: