Mailing List Archive

mythtv commits
Changes committed by john on Tue Jul 9 22:52:07 2002

Modified Files:
in MC/tv/libNuppelVideo:
Log Message:
two small fixes in the accounting procedure for dropped frames:

1. Round off, rather than rounding down, when calculating 'fn'. This means the cutoff between 0 skipped frames and 1 skipped frame is when the time measured between them was 1.5 frame periods. The old cutoff was 2 frame periods, so if the measured delay between frames was 1.99, no drop was detected...

2. The original frame before a series of dropped frames uses its real timecode, and each time this frame is repeated, the timecode increments by one frame period. So the player will always see a stream of frames with (more or less) evenly spaced timecodes.