Shield Kodi17 – SW/HW Decoding issue

Hi
I have a weird problem that only effects my KODI install on the Shield TV. (KODI 17 Git:20170205-Ocbe762)
My other installs on several raspberry pi´s and windows pc´s don’t have this behavior
I have a TvHeadend server running. When I start watching any TV channel Kodi uses this setup:

Video decoder amc-h264 (HW)
Pixel format Surface
Deinterlace method hardware

When switching the channel, doesn’t matter to what kind of Channel (HD SD 720p) it changes to

Video decoder ff-h264 (SW)
Pixel format yuv420p
Deinterlace method yadif=1:-1:1

And then the playback is choppy.
Next channel uses again Video decoder amc-h264 (HW) – next channel uses again Video decoder ff-h264 (SW)…and so on. It has nothing to do with the channel itself. For example when I start with channel 1 (Video decoder amc-h264 (HW)) and then to channel 2 (Video decoder ff-h264 (SW)) then to 3 (Video decoder amc-h264 (HW)) and back to 1 (Video decoder ff-h264 (SW))

It always changes between the two decoding settings

My Kodi setting are:
Player settings, Video
Adjust display refresh rate On start Stop
Render method Auto detect (cannot change this)
This is my Video setting: enable HQ scalers 100%
Allow hardware acceleration Mediacodec Surface on
Allow hardware acceleration Mediacodec off
System setting:
Resolution 1920*1080p
Refrech rate 50.00

Logfile: http://paste.ubuntu.com/23942936/

Any help how I can make sure that the HW decoding is always used is much appreciated.
Thanks