[BUG] [RK3399] UI items, subtitles causes playing video to glitch weirdly

  • Describe the bug
    When playing videos with `ff-h264-drm_prime (HW) or `ff-vp9-drm_prime (HW) Decorder, it causes the video to glitch weirdly (UI items like changing volume, mute/unmute, Video Info, etc). Even the Subtitle causes this issue as well.

    Videos played locally, over the network, or YouTube Addon, all are affected.

    The issue does not occur with ``ff-hevc-drm_prime (HW) Decorder.

    It is happening on a fresh test install too. Here is a video example

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    How to reproduce
    Steps to reproduce the behavior:
    1. Play any video with h264/VP9 Codecs
    2. Mute/unmute, disable/enable subtitles, open video info
    3. Observe the glitch

    Information
    - LibreELEC Version: 12.0.0
    - Hardware Platform: NanoPC-T4 (RK3399)

    Debug Log
    Bug happens randomly, hard to get debug log ⁠⁠

    Github link https://github.com/LibreELEC/LibreELEC.tv/issues/9065