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

Thomas Guillem thomas at gllm.fr
Thu Jun 4 13:20:49 CEST 2015



On Thu, Jun 4, 2015, at 13:15, Rémi Denis-Courmont wrote:
> Le 2015-06-04 12:29, Thomas Guillem a écrit :
> > On Thu, Jun 4, 2015, at 11:09, Rémi Denis-Courmont wrote:
> >> Le 2015-06-04 11:56, Thomas Guillem a écrit :
> >> > Both a52 modules Open() will succeed, but the first one (a52spdif)
> >> > may
> >> > fails if there is not audio output matching VLC_CODEC_A52. In that
> >> > case,
> >> > Decoder will fallback to the next one in the list: a52dec.
> >>
> >> So how do I reenable S/PDIF when the audio output changes during
> >> playback?
> >
> > Is it automatic ?
> 
> That depends on the output. Unsolicited device changes are definitely 
> possible.

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.

> 
> -- 
> 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