Currently we can limit supported resolution and frame rate of the decoder by USE(FULLHD_VIDEO_DECODING_LIMIT), but it should be more customizable.
The proposal of solution is to have a define: VIDEO_DECODING_LIMIT (instead of FULLHD_VIDEO_DECODING_LIMIT), where can be provided customizable parameters of limit. The format of this could be: WIDTHxHEIGHT@FRAMERATE
Pull request: https://github.com/WebKit/WebKit/pull/4744
Committed 255380@main (8e1c25cdff34): <https://commits.webkit.org/255380@main> Reviewed commits have been landed. Closing PR #4744 and removing active labels.
<rdar://problem/101022747>