[gst-devel] Pipeline control

Stefan Kost ensonic at hora-obscura.de
Fri Feb 24 05:55:13 CET 2006


Hi Tomasz,

Tomasz Lorek wrote:
> Hi!
> How can I emit EOS message so that the bus_callback recieve
> GST_MESSAGE_EOS and stop quit the loop?
>
> I'd like to use it to force stoping of playback on the button click.
>
> Or what is the better solution to stop playing of the stream?
>   
gst_element_set_state(pipeline, GST_STATE_PAUSED/READ/NULL);

Stefan
> Regards
> Tomek
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list