Issues with timestamps made cfr think it needed to duplicate a few thousand
frames. this leads to an over-cunsumption of memory since all duplicates
are placed in a list at once.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5082
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{
if( st->startup )
{
- st->average += ( dt - st->average ) * (1./2.);
+ st->average += ( dt - st->average ) * (1./4.);
st->startup--;
}
else
{
st->average += ( dt - st->average ) * (1./32.);
}
- st->last = buf->s.renderOffset;
}
+ st->last = buf->s.renderOffset;
st->valid = 1;
}