[vlc-devel] [RFC 7/8] libvlc: add an engine context pointer to the callbacks structure

Rémi Denis-Courmont remi at remlab.net
Tue Nov 20 17:33:58 CET 2018


Le tiistaina 20. marraskuuta 2018, 17.42.41 EET Steve Lhomme a écrit :
> This will be necessary for Direct3D where we need the D3DDeviceContext from
> the host to render into.

It does not seem very robust and reasonable for LibVLC and the application to 
share a context from a third library.

But in any case, we normally handle this by returning the context from the 
callback that allocates it - presumably start_engine - not by setting it 
statically.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list