[vlc-devel] [PATCH 4/9] modules:decoders: reset the fmt_out on error

Rémi Denis-Courmont remi at remlab.net
Wed Jul 12 17:30:49 CEST 2017


On mercredi 12 juillet 2017 16:54:07 EEST Steve Lhomme wrote:
> Since the module loading doesn't go back to the decoder loading between
> elements, it's up to the failing decoder to clean up the mess it did before
> trying the next decoder.

This is insanely and needlessly brittle. Either decoders don't touch stuff 
until they're done, or the code common (re)sets things.

-- 
Rémi Denis-Courmont


More information about the vlc-devel mailing list