There is a bug in the mpeg2play XvMC modification that I posted
on this list. The loop (-l) option is broken. Attached is a
patch that fixes that.
Mark.
*** display.c.old Sat Oct 27 12:58:28 2001
--- display.c Sat Oct 27 12:59:26 2001
***************
*** 237,246 ****
Bslot ^= toggle;
} else {
conseqIP++;
! if(conseqIP == 3) {
int oldtoggle = toggle;
! conseqIP = 2;
toggle = (IPslot ^ oldtoggle) ^ Bslot;
IPslot = Bslot;
Bslot ^= oldtoggle;
--- 237,246 ----
Bslot ^= toggle;
} else {
conseqIP++;
! if(conseqIP == 2) {
int oldtoggle = toggle;
! conseqIP = 1;
toggle = (IPslot ^ oldtoggle) ^ Bslot;
IPslot = Bslot;
Bslot ^= oldtoggle;
*** mpeg2dec.c.old Sat Oct 27 12:58:35 2001
--- mpeg2dec.c Sat Oct 27 13:00:43 2001
***************
*** 165,171 ****
}
}
! if (framenum!=0)
{
/* put last frame */
putlast(framenum);
--- 165,171 ----
}
}
! if ((framenum!=0) && !loopflag)
{
/* put last frame */
putlast(framenum);