[vlc-devel] [PATCH] Reuse the decoders when possible at segment change

Rafaël Carré funman at videolan.org
Tue Jan 1 23:16:33 CET 2013


Le 01/01/2013 23:13, Denis Charmet a écrit :
> Le mardi 01 janvier 2013 à 10:30:00, Rafaël Carré a écrit :
>> Hello,
>>
>> Le 01/01/2013 21:36, Denis Charmet a écrit :
>>> Should fix #5906 in most cases
>>
>> I am not sure it's a good idea, it seems like a fragile heavy workaround
>> for a bug which will continue to exist at the start of every decoder.
>>
> Well the bugfix is more a cool repercussion than anything, this kind of tricks is
> done a lot in digital TV each time the PMT is updated with new streams.
> 
> The tests done here are quite restrictive so I don't expect much
> fragility from that.
> 
> Gapless playback is a hell to implement. This should provide some
> performances savings and it was Laurent's suggestion :)

Gapless playback makes sense,
I mistook your fix for working around the fact that decoders lose the
initial audio, because it just happened to me today on one of my
favorite songs :(

And yes your checks are quite restrictive indeed.



More information about the vlc-devel mailing list