tvheadend htsp freezing

  • Hey guys!

    I'm running LibreELEC on a raspberry pi 3 and it works fine 9 cases out of 10.
    Sometimes though when I change channel in the PVR client I can hear that the sound from the switched channel appears. But, the picture does not.

    I've tried to clock the raspberry and so forth.. but, still I don't really see any solution for it.

    I've tried to add the advancedsettings.xml where I'm using the code below.
    I think if works better but it still seem to not solve the problem.

    Can I in some way optimize the raspberry in some way to get an even more stable switching between channels?

    Thanks!

    Code
    <advancedsettings>
    <pvr>
    <minvideocachelevel>20</minvideocachelevel>
    <minaudiocachelevel>10</minaudiocachelevel>
    </pvr>
    </advancedsettings>