[gst-devel] EOS and multiqueue?

Thomas Loewe lazyt at gmx.net
Wed Mar 24 17:31:02 CET 2010


Hi,

i was wondering that my app can't receive EOS messages anymore after
switching from queue to multiqueue.

As i understand the multiqueue element "eats" the EOS and i've to connect an
underrun signal handler instead listening for EOS messages on the bus.

Is that the right way to detect the end of the stream in a multiqueue
pipeline?

If so is this ok:

void FakeEOS(GstElement *multiqueue, gpointer user_data)
{
	if(GST_STATE(pipeline) == GST_STATE_PLAYING)
	{
		gst_bus_post(gst_pipeline_get_bus(GST_PIPELINE(pipeline)),
gst_message_new_eos(GST_OBJECT(source)));
	}
}

Thank you,
Thomas
-- 
View this message in context: http://n4.nabble.com/EOS-and-multiqueue-tp1680812p1680812.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list