Improve speed when encoding lots of identical frames when the same subtitles.