From: Christoffer <gno...@cu...> - 2005-02-24 07:38:32
|
Quoting Luke Biddell <luk...@gm...>: > Chris, > I've taken a look at the code and it looks good. I think we should do > the following: > From reading the gstreamer docs you don't have to use their threading. > I think we should enhance our existing exec code so that instead of > forking a child, we can supply an ExecFunc which solely gets called on > the exec thread. In this callback we can put the gstreamer stuff. > There's an example of how to do the gstreamer conversion syncronously > in the pigeon cd burning code. > You can test it by creating a command and running the gstreamer code > from a preproc. If successful you can set the status to continue and > skip the forking part. > This gives us greater flexibility as we can mix and match callbacks > and child forks. This also ties in better with the on the fly code > I've been conceiving. > Let me know what you think. Ok, let's use our own threading. I'll take a look at the ExecFunc stuff. /Chris |