[vlc-devel] [PATCH] demux: avcodec: audio: reset reference time on backward seek (fix #9176)
Ilkka Ollakka
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
> >same
> >value than AOUT_MAX_PREPARE_TIME, so in future it doesn't give any
> >hint
> >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
> congestion.
Yes you are right that it would be really fragile. Maybe better would be
just check discontinuity and change demuxers to set discontinuity on
seeks.
--
Ilkka Ollakka
Sushido, n.:
The way of the tuna.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140516/3d271172/attachment.sig>
More information about the vlc-devel
mailing list