[gst-devel] 'start of stream' signal, like 'eos'
wingo at pobox.com
Thu May 16 13:48:01 CEST 2002
On Fri, 17 May 2002, Kang Jeong-Hee wrote:
> for example, put a toggle button which is play button.
> I wanna display status of playing by the toggled.
> i.e. connect 'eos' signal to element to make button untoggled.
> but I have no clue how can I make button toggled naturally.
> I'm sure that I know there are many workaround like manually give
> but I think eos alone is out of expect; he needs her. ;)
why don't you connect to the state_changed signal instead, and toggle
the button when the pipeline goes into PLAYING? EOS will set the
pipeline to PAUSED, so you can catch it on the way back down too.
More information about the gstreamer-devel