adaptive streaming: cap max level to player dimension in auto-quality mode
related to https://github.com/mangui/HLSprovider/issues/165