[vlc-devel] qtkit mac development and threads
Michael.Feurstein at wu.ac.at
Mon May 7 13:24:32 CEST 2012
i have a question concerning mac dev and threads.
background info: with qtcapture or qtsound the Open method hangs (simply doesn't continue) when using -I dummy. as far as my research goes this is due to the fact that QTCaptureSession calls back to the main thread when calling addInput.
when googling this, quicktime engineering replies that QTCaptureSession only posts notifications to the main run loop. 
a solution from another list  suggests to run a run loop on the main thread otherwise the QTCaptureSession waits forever for the addInput call to complete.
i'm a bit lost and want to fix this in order to work with -I dummy, so i'd be grateful for some starting points. how does -I dummy work? (what a question…) or could this be lost ground as Pierre notes in a commit that one should not expect this to run with -I dummy .
i'm on irc, maybe someone can point me in the right direction, source code examples, other solutions, anything…
- Michael Feurstein
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel