Finishing a Pipeline

Stefan Kost ensonic at
Wed Jul 27 06:55:47 PDT 2011

On 07/26/11 16:33, Andy_Milestone wrote:
> Hello,
> I am writing a streaming-client for audio and video based on
> gstreamer. Well after some trouble its working...
> The only thing, which I do not unsterstand is how I can finish the
> state of the pipeline from PLAYING to PAUSE / NULL. Ok, I realised
> that its possible to send a EOS-message via a time-out on the
> pipeline-bus and than quit the G_MAIN_LOOP, but I want to stop the
> streaming with a key stroke or something else.

well, add a keypress handler in your ui toolkit. from there send the
eos-event and wait for eos message on the bus. then stop the pipeline.
there is no need to stop the mainloop though.

> Has somebody a hint for me?
> Regards, Andreas
> ------------------------------------------------------------
> Andreas
> [gesendet vom Handy]
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list