insert additional frame to properly encode the last frame duration in
looping content