[vlc-devel] [PATCHv3 03/12] libvlc: add renderer module list option

Steve Lhomme robux4 at gmail.com
Thu Mar 31 16:17:38 CEST 2016


On Thu, Mar 31, 2016 at 2:39 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2016-03-31 14:28, Steve Lhomme a écrit :
>>
>> Another reason is that we need to be able to decide the "sout" string
>> to use for each file of the playlist we're trying to play as the
>> device only supports some codec and containers.
>
>
> Sout must be instantiated before the codecs are known, so that sentence
> makes absolutely zero sense. Besides, nothing in the VLC core prevents the
> sout chain from transcoding conditionally.

A conditional sout chain could be an option. Then the Chromecast
handler could be a control (as in resident) module that just talks to
the Chromecast when needed. I'm fine with moving that logic further
down the code.

The problem is the same a before though, InitSout is still done before
InputSourceNew() is called, which creates the ES's. A stream wrapper
might be able to delay the downstream stream output to use (not sure
it's even possible), but what happens if it fails to create one ? With
the current renderer code we fall back to local playback.

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