> > > > Anyway, I'll add semaphores which should make this particular case much > > easier. > > Or you can do: > while( !b_ready ) > vlc_cond_wait() > > as you prefer. > Thanks for reviewing. If both methods are okay, I'll take the latter one. Rgds Erwan10