[gst-devel] some queue advice

Ramón García ramon_garcia_f at yahoo.com
Tue Sep 30 01:59:09 CEST 2003


I do not think that this problem can be solved without
modifying the adder mixer so that one can add new
streams without issuing a state change. Threads will
not solve the problem. Even if you put part of the
pipeline inside a thread, state change events will
reach inside the thread.

For other reasons, the bin that fetches each stream of
data from the network and decodes it should run in a
different thread. Otherwise, a slow network connection
would block all other connections. The locks that you
experience means that gnomevfssrc should be fixed. It
should implement the release_locks function. This is a
member of the GstElementClass, so it should be set in
the class_init(). When that function is invoked, any
select/poll() waiting for the network should be
interrupted.

Ramon


___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es




More information about the gstreamer-devel mailing list