Re[2]: [XviD-devel] maybe I found a bug
Radoslaw 'sysKin' Czyz
xvid-devel@xvid.org
Mon, 30 Sep 2002 18:16:20 +0930
> frame->seconds is set in encoder.c by set_timecodes(). That's part of the
> new timecodes I commited two days ago.
And set_timecodes() uses reference frame's timestamp. Which is not
initialized for first frame in the bitstream, is it?
I added the following line to encoder_create:
pEnc->reference->stamp = pEnc->current->stamp = 0;
and everything is great now :-)
I have a fully working B-frame XviD at least ^_^
Radek