[vlc-devel] [RFC 1/8] libvlc: add a bool return value to the resize callback
Rémi Denis-Courmont
remi at remlab.net
Tue Nov 20 17:21:56 CET 2018
Le tiistaina 20. marraskuuta 2018, 17.42.35 EET Steve Lhomme a écrit :
> For some reason it may be impossible to the host to provide a context with
> the given size.
As already explained, this cannot work. We tried that already in the past and
removed it knowingly. The core has no way to handle rejected resizes, since
they are asynchronous and already acted upon by the time this callback is
invoked.
Indeed, the Resize() function would need to pass the error to the caller,
which it cannot do.
No thanks.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list