I noticed the same problem here. Even the frame time is never reset. I believe this is a bug in Microsofts DirectShow filter. As a workaround you can use the mod operator to get the actual frame number.
Code:
frame = video.getFrame() % video.getFrameCount()