[vlc-devel] [PATCH] caopengllayer: do not return an error when crop/zoom/aspect/etc fail

Rémi Denis-Courmont remi at remlab.net
Sun Oct 27 08:07:20 CET 2019


Le lauantaina 26. lokakuuta 2019, 20.20.41 EET Alexandre Janniaux a écrit :
> Apple does give a guarantee about not doing things like
> Do you have any hints that would highlight the fact that
> that in its backend ?

No, but again, if the error is actually possible under well-defined code, then 
it should be handled properly, and the error handling looks naive at the very 
best.

Unhandlable errors should abort(), e.g. vlc_mutex_init().

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list