From: Miguel F. <mi...@ce...> - 2003-01-02 13:23:59
|
Hi Michael, Hi Daniel, On Mon, 2002-12-30 at 12:05, Michael Roitzsch wrote: > Ahh, I see some races: > All the rewiring (and post plugin disposal) is done in the frontend's > thread context, but the actual dataflow is decoder thread. This leads > to problems when rewiring on the fly during playback. > > We need a nice mutex solution here. I have thought about some, but all > had some drawbacks. Suggestions would be welcome. i would suggest that we forbid on-the-fly rewiring for now: rewiring should only be allowed if stream is at "stopped" state. of course, we might change that in the future if we find a clean way to avoid the race. i just think we have other more interesting priorities... regards, Miguel |