Postby fkuehne » 18 Nov 2015 21:03
Sorry for the late reply. The problem you are running to here is because libvlc / VLCKit inserts an NSOpenGLView as a subview within VLCVideoVideo. This component dates back to the NExT days of OS X and does not support overlays within the same window.
Basically, you have 2 options:
- don't do the overlay in the same video as the video output
- use the OpenGLLayer video output instead of the default OS X vout, which provides the client app with a CALayer to ready to embed wherever the client wants
If you are interested in discovering the second option, let me know and I'll provide the necessary details. It's not difficult and there is virtually no performance impact.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net