Topic: MPV freezes after changing quality

I came across a bug that cause that mpv freezes after changing anything in video profile. I recently added RX 5700 XT to my system but I doubt that this is the problem because it happen even if I'm not using GPU. I tested SVP with VLC which cause no problem so It si very likely that it is the mpv fault.

OS:Manjaro
Packages:
svp  AUR
mpv-git AUR
opencl-amdgpu-pro-pal AUR
ocl-icd   extra

Main problem:

[ipc_0] Too many events queued.

Rest of the output:

[dave@LinuxManjaro ~]$ SVPManager 
13:43:34.567 [i]: Main: starting up SVP 4 Linux [4.3.0.173]... 
13:43:34.567 [i]: Main: args: none
13:43:34.567 [i]: Main: working dir is /opt/svp/
13:43:34.568 [i]: Main: data dir set to /home/dave/.local/share/SVP4/
13:43:34.568 [i]: Settings: loading reg.cfg OK
13:43:34.568 [i]: Settings: loading main.cfg OK
13:43:34.568 [i]: Settings: loading ui.cfg OK
13:43:34.569 [i]: Settings: loading frc.cfg OK
13:43:34.569 [i]: Settings: loading profiles.cfg OK
13:43:34.569 [i]: Settings: loading custom.cfg OK
13:43:34.569 [i]: Settings: loading lights.cfg OK
13:43:34.569 [i]: Main: using Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.0)
13:43:34.570 [i]: Main: device scale is 1, user defined scale is 0
13:43:34.570 [i]: Main: system locale is [cs]
13:43:34.570 [i]: Main: preferred language is [cs-cz]
13:43:34.571 [i]: Main: setting language file to en.qm...
13:43:34.574 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
13:43:34.574 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.168
13:43:34.576 [i]: Main: VLC filter (64 bit): 1.0.0.170
13:43:34.576 [i]: Main: running OpenCL info...
13:43:34.580 [i]: Main: collecting system information...
13:43:34.583 [i]: OS: Linux 5.4.0-1-MANJARO #1 SMP PREEMPT Sun Nov 17 15:34:14 UTC 2019 x86_64
13:43:34.598 [i]: Desktop environment: /usr/bin/gdm / gnome
13:43:34.615 [i]: CPU: Intel Core i5-4690 [base frequency 3798 MHz, 4 threads]
13:43:34.615 [i]: Video: reading OpenCL info...
13:43:34.712 [i]: Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.2.6] (Mesa)
13:43:34.712 [i]: Video 1: AMD NAVI10 (DRM 3.35.0, 5.4.0-1-MANJARO, LLVM 9.0.0) (AMD, ver.19.2.6) [gpuID=11]: NOT SUPPORTED
13:43:34.712 [i]: Video: 1 GPU OpenCL device(s) on AMD Accelerated Parallel Processing [OpenCL 2.1 AMD-APP (2906.7)] (Advanced Micro Devices, Inc.)
13:43:34.712 [i]: Video 1: Unknown AMD GPU (Advanced Micro Devices, Inc., ver.2906.7 (PAL,LC)) [gpuID=21]: OK
13:43:34.714 [i]: Memory:  7892  MB total,  6638 MB free
13:43:34.714 [i]: System: finding network settings...
13:43:34.728 [i]: Screens: updating information, 1 screen(s) found
13:43:34.728 [i]: Screens: screen 0 (DisplayPort-0) - 1920x1080 @60.000 Hz, x1.0 [102 DPI]
13:43:34.728 [i]: Screens: primary screen is 0
13:43:34.744 [i]: Main: preparing video profiles...
13:43:34.769 [i]: Main: preparing performance graphs...
13:43:34.799 [i]: Main: preparing mpv...
13:43:34.816 [i]: VLC: installed Vapoursynth plugin: 1.0.0.170
13:43:34.816 [i]: Main: preparing remote control...
13:43:34.816 [i]: RemoteControl: started
13:43:34.817 [i]: Main: preparing main menu...
13:43:34.831 [i]: Main: loading extensions...
13:43:34.835 [i]: Extensions: found svpcast 1.1.0.173 ...
13:43:34.836 [i]: Settings: loading cast.cfg OK
13:43:34.841 [i]: Streaming: Web UI listening on http://127.0.0.1:9900
13:43:34.849 [i]: Extensions: found svplight 2.0.0.168 ...
13:43:34.850 [i]: Settings: loading leds.cfg OK
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
13:43:34.908 [i]: Main: initialization completed in 329 ms
13:43:35.284 [i]: Updates: checking now...
13:43:35.347 [i]: Streaming: Web UI listening on http://10.243.13.20:9900
13:43:37.800 [i]: Performance: quick estimation = 652 (previous value was 664)
 (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=jpn (*) (aac 2ch 44100Hz)
 (+) Subs  --sid=1 --slang=eng (*) (ass)
13:43:39.872 [i]: VideoPlayer: mpv connected, waiting for the video info...
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
13:43:40.402 [i]: VideoPlayer: mpv 0.30.0-285-gb3b2cc44fa
13:43:40.982 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps [constant]
13:43:40.982 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
13:43:41.007 [i]: Playback: starting up...
13:43:41.014 [i]: Playback [4d6b34e9]: resulting video frame 1920x1080
13:43:41.014 [i]: Playback [4d6b34e9]: 1 acceptible profiles, best is 'Automatic' [0]
13:43:41.019 [i]: Playback [4d6b34e9]: enabled while video is playing
13:43:41.019 [i]: Profile: using automatic profile #1 /animation
13:43:41.031 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
[sub/ass] fontselect: Using default font family: (Trebuchet MS, 700, 0) -> /usr/share/fonts/TTF/VeraBd.ttf, 0, BitstreamVeraSans-Bold
13:43:45.428 [i]: Profile: using automatic profile #2 /animation
13:43:45.437 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
13:43:47.923 [i]: Profile: using automatic profile #1 /animation
13:43:47.932 [i]: Playback [4d6b34e9]: playing at 59.94 [23.976 *5/2] 
[ipc_0] Too many events queued.
13:44:04.693 [i]: Playback [4d6b34e9]: disabled while video is playing
13:44:04.697 [i]: Playback [4d6b34e9]: deleted
13:44:08.513 [i]: Main: finished cleaning resources
[dave@LinuxManjaro ~]$