[vlc-devel] [RFC PATCH 1/5] filter: add a way to signal error from callbacks
remi at remlab.net
Thu Feb 28 21:45:04 CET 2019
Le torstaina 28. helmikuuta 2019, 22.29.55 EET Thomas Guillem a écrit :
> > And then I don't think filters should be allowed to fail after
> > initialisation, as it won't typically be possible or reasonable to handle
> > errors.
> My last patch of the set really need to make sure we handle filters fails,
> but yes those fail are very unlikely:
I just mean that there is not much sane handling about a failing filter.
If a single block handling fails due to memory allocation error or similar,
the block will be discarded. If you really want to be precise, you can flag a
discontinuity, report an error in the stat counters and reset the filter
More information about the vlc-devel