[vlc-devel] [RFC PATCH 1/5] filter: add a way to signal error from callbacks
remi at remlab.net
Fri Mar 1 13:39:43 CET 2019
I do not know why a separate block is needed as opposed to flagging a discontinuity on the following successfully output block.
But assuming that you have a good reason in mind, there are still some challenges with the error block approach:
- If it needs to be queued, it needs to be writable, and thus it needs to be allocated, and thus its allocation can fail.
- There are code paths that discards zero-size blocks specially, or fails to handle them at all.
- Some craptastic platforms might not support exported globals, only functions (not that I'd care personally).
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel