[vlc-devel] [PATCH 4/5] decoder: add a way to try an other decoder module

Thomas Guillem thomas at gllm.fr
Thu Jun 4 14:22:45 CEST 2015


On Thu, Jun 4, 2015, at 13:33, Rémi Denis-Courmont wrote:
> Le 2015-06-04 14:20, Thomas Guillem a écrit :
> > So, we should add a way to notify the decoder that the list of
> > compatible audio_format changed, via a callback or something else 
> > from
> > an audio_output.
> 
> That's what decoder restart was all...
> 
> Also I agree with Julian: "try next" is not something that the decoder 
> module should decide.

But we need to differentiate if the decoder module failed because of an
internal decoder error (in that case, we should try a next decoder) or
because of a bad input.

Maybe we should always fallback to next decoder in case of error, I
don't know.


> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list