[vlc-devel] [PATCH] demux: avcodec: audio: reset reference time on backward seek (fix #9176)
ileoo at videolan.org
Fri May 16 10:15:13 CEST 2014
On Fri, May 16, 2014 at 03:53:55PM +0800, Rémi Denis-Courmont wrote:
> Le 2014-05-16 15:43, Ilkka Ollakka a écrit :
> >Maybe it would be better just define new constant that for now has
> >value than AOUT_MAX_PREPARE_TIME, so in future it doesn't give any
> >that PREPARE_TIME would relate directly on decoding?
> Well, that would fix the problem of (not) tying with the audio output.
> But even then that would break if a single is longer than the magic
> value or if the discontinuity is shorter than the magic value. Both
> are possible, with the latter even likely in case of corruption or
Yes you are right that it would be really fragile. Maybe better would be
just check discontinuity and change demuxers to set discontinuity on
The way of the tuna.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the vlc-devel