Marginally improve FPS counting logic in the video plugins.