[FFmpeg-devel] [PATCH] matroskadec: reset num_levels on seek.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Feb 13 20:11:20 CET 2012
On Sun, Feb 12, 2012 at 11:11:12PM +0100, Aurelien Jacobs wrote:
> On Sun, Feb 12, 2012 at 08:01:36PM +0100, Michael Niedermayer wrote:
> > On Sun, Feb 12, 2012 at 02:08:05PM +0100, Reimar Döffinger wrote:
> > > Otherwise when we run into levels beyond the max. allowed
> > > playback will be permanently broken.
> > >
> > > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> >
> > this is probably ok
>
> Indeed this looks OK, provided that you verified that after seeking and
> then letting play, nothing wrong happen when reaching the end of the
> file.
Yes, I tested that scenario a lot in fact, because this actually
happened when letting the file play all the way to the end and then
seek back again repeatedly. After some time playback would stop
completely, and this change fixes that.
Patch pushed.
More information about the ffmpeg-devel
mailing list