[gst-devel] bug?

Andy Wingo wingo at pobox.com
Thu May 9 05:09:02 CEST 2002


On Thu, 09 May 2002, Jorn Baayen wrote:

> Heya,
> 
> I bumped into something that probably is a gstreamer bug

/me gasps ;)

> (BTW what would be the best place to catch EOS signals from? gnomevfssrc
> emits it too early for proper use in monkeymedia, since it's emitted
> when the data ends, not when the playback ends. The audiosink is not an
> option either since it's not stream-specific in this case.)

It really depends on what you want to do, but if the desired behavior is
that the last buffer gets played to the audio sink, connect to "eos" on
the audio sink's sink pad.

> If the mixer catches the new eos signal from the main thread it
> disconnects the stream and the mixer, and a new stream is dragged in
> and hooked up. So far so good, scheduler dumps, everything looks
> alright. But when i try to set the state to GST_STATE_PLAYING again (i
> set it to NULL before fiddling with the stream, i tried everything,
> PAUSED, STOPPED ..), it just locks up right there in the
> gst_element_set_state. This all happens from the main thread.
> 
> I spent the last three days playing with this, and I really dont see how
> it could be a bug in monkeymedia itself ... 

If thomasvs doesn't figure this one out, you can have my eyeballs too.
For what it's worth ;)

regards,

wingo.




More information about the gstreamer-devel mailing list