setViewport

abstract fun setViewport(width: Int, height: Int, scale: Float)

The output surface changed size. Subtitles are laid out again after this.