[vlc-devel] qtkit mac development and threads
Rémi Denis-Courmont
remi at remlab.net
Tue May 8 18:46:34 CEST 2012
Le mardi 8 mai 2012 19:30:59 Feurstein, Michael, vous avez écrit :
> So from this I assume that I need to manually start a cocoa main loop for
> the plugin to do its work
If a plugin needs a main loop, then it needs to start it, run it and stop it.
The PulseAudio input already is an example of that case.
> - or is this as a LibVLC plugin developer outside of my scope?
No. LibVLC does not provide a main loop abstraction. And specifically it will
never provide a Cocoa main loop since that would not be portable. Plugins must
take care of their own run-time requirements.
> Furthermore - from another perspective: if I start qtcapture:// via the GUI
> or terminal and press play (the non-automatic way) the plugin doesn't get
> stuck. Would it help to look into those steps source code wise? if yes -
> where would I have to look?
I don't think anyone can answer that intrinsically personal question for you.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list