Freeze image after channel switch

Hi,

if i zap TV channels with my remote the video stream often freezes and audio continues normally.

It seems that sometimes synchronizing audio and video fails!

Code:
17:30:47.888 T:139721694316288   DEBUG: CVideoPlayer::HandleMessages - player started 2
17:30:47.890 T:139721694316288   DEBUG: CVideoPlayer::HandleMessages - player started 1
17:30:47.890 T:139721694316288   DEBUG: CVideoPlayer::SetCaching - caching state 3
17:30:47.890 T:139721694316288   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
17:30:47.891 T:139721694316288   DEBUG: VideoPlayer::Sync - Audio - pts: 17222845222.000000, cache: 326530.545400, totalcache: 600000.023842
17:30:47.891 T:139721694316288   DEBUG: VideoPlayer::Sync - Video - pts: 17223119556.000000, cache: 50000.000000, totalcache: 100000.000000
17:30:47.891 T:139721694316288   DEBUG: CVideoPlayer::SetCaching - caching state 0
17:30:47.891 T:139721694316288   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
17:30:47.891 T:139721921521408   DEBUG: CVideoPlayerVideo - CDVDMsg::GENERAL_RESYNC(17221845221.976158)
17:30:47.891 T:139721667856128   DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(17221845221.976158)
17:30:47.891 T:139721694316288   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:-0.050000
17:30:47.891 T:139721921521408    INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
17:30:47.892 T:139721667856128   DEBUG: CDVDAudio::Resume - resume audio stream
17:30:47.894 T:139723165103872   DEBUG: ActiveAE - start sync of audio stream
17:30:48.005 T:139723165103872   DEBUG: ActiveAE::SyncStream - average error of 682.611480, start adjusting
17:30:48.414 T:139721921521408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:30:48.414 T:139721370064640   ERROR: VAAPI::CheckSuccess - Error: an invalid/unsupported value was supplied(25)
17:30:48.655 T:139723165103872   ERROR: Previous line repeats 1 times.
17:30:48.655 T:139723165103872   DEBUG: ActiveAE::SyncStream - average error 7.823384 below threshold of 30.000000
17:30:48.914 T:139721921521408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:30:48.918 T:139721370064640   ERROR: VAAPI::CheckSuccess - Error: an invalid/unsupported value was supplied(25)
17:30:48.921 T:139721921521408   ERROR: Previous line repeats 3 times.
17:30:48.921 T:139721921521408  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 36363
17:30:48.921 T:139721370064640   ERROR: VAAPI::CheckSuccess - Error: an invalid/unsupported value was supplied(25)
17:30:48.921 T:139721921521408 WARNING: VAAPI::FFGetBuffer - no surface available - dec: 1, render: 0
17:30:48.921 T:139721921521408   ERROR: ffmpeg[7F138B7FE700]: [mpeg2video] get_buffer() failed
17:30:48.921 T:139721921521408   ERROR: ffmpeg[7F138B7FE700]: [mpeg2video] thread_get_buffer() failed
17:30:48.921 T:139721370064640   ERROR: VAAPI::CheckSuccess - Error: an invalid/unsupported value was supplied(25)
17:30:48.922 T:139721921521408   ERROR: ffmpeg[7F138B7FE700]: [mpeg2video] get_buffer() failed (-1 (nil))

I’ve tried different VAAPI hardware acceleration options. But the problem is still there!
Do you have any suggestions?

I am running KODI 17.1 with VDR VNSI Client “version 2.6.19.1” on a Intel NUC5CPYH (Celeron N3050).

Thanks