The most general solution would be, in my opinion, that the scheduler uses cothreads, and when gst_element_wait() is invoked, the scheduler can switch to another pending task. Ramon ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es