[vlc-devel] [PATCH 2/9] libvlc: add a callback to notify the host when the rendering starts/ends

Alexandre Janniaux alexandre.janniaux at gmail.com
Fri Jan 18 18:27:07 CET 2019

Le ven. 18 janv. 2019 à 17:46, Rémi Denis-Courmont <remi at remlab.net> a écrit :
> Le perjantaina 18. tammikuuta 2019, 15.58.58 EET Steve Lhomme a écrit :
> > This is going to be necessary for Direct3D rendering as we will need to
> > share the rendering context on both sides.
> No. The API was deliberately made to look like GL/GL ES so it is easy to use.
> Just because we are free to break ABI at the moment does not mean that we
> should mess with existing API designs. If you cannot fit your use case in the
> existing API, then most likely you should not be using it.

I would say it is exactly the right time to break this if it can be
generalised to
more use cases, as libvlc 3.x is ough to be an LTS version.

However, this is starting to be a lot of callbacks, maybe using a structure of
callback would be clearer?

More information about the vlc-devel mailing list