JQuery animations in WebEngineView are not smooth while video is playing
I'm developing an application that uses webengineview to display a webpage and overlay it with video playback (using libmpv).
My main UI only has the webenginview widget and the mpv widget. Mpv uses opengl to playback video in the mpv widget.
The webpage being displayed has some scrolling animations that are done with jquery. I find that when video is playing, the animations are less smooth than when video is not playing.
The system doesn't seem to be struggling for resources. Video playback is hardware accelerated, so CPU use sits around 45%.
Is there something I can do to make things look a little smoother?