[vlc-devel] [PATCH 3/9] vlc_codec: add decoder_ResetOuput() to reset failing decoder init

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


On mercredi 12 juillet 2017 16:54:06 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 very brittle. If you feel the need to reset something on "next" plugin 
probe, you can do it in the vlc_module_load callback (e.g. demux).

-- 
Rémi Denis-Courmont


More information about the vlc-devel mailing list