Some fixes for encoding video at constant frame rate even when generated 
with jittery data.