[vlc-devel] [PATCH v2 3/7] aout: add gapless support

Rémi Denis-Courmont remi at remlab.net
Thu Mar 21 15:29:54 CET 2019

Le jeudi 21 mars 2019, 15:34:04 EET Thomas Guillem a écrit :
> On Thu, Mar 21, 2019, at 14:29, Rémi Denis-Courmont wrote:
> > No. You are making unwarranted assumptions, and not just about no audio
> > ES. I cannot agree.
> That is why I will start the next input, and pause it before it request new
> ouputs (vout/aout/spu/aout). Then, if there is an audio track, I'll compare
> the format to the current one and enable gapless accordingly.
> Why unwarranted assumptions am I making in that case ?

For the umpteenth time.

You're assuming that those informations will come early enough to drain and 
stop, if stitching the streams turns out not possible. Early enough is at 
DecDrain() time. Later than that is unwarranted assumption.

Rémi Denis-Courmont

More information about the vlc-devel mailing list