Krypton beta 5 broke video picture on Android TV

Hi

So I have been using XBMC/Kodi for the longest time and have recently migrated over to a Sony Android TV (Sony Bravia KD-55x8505c)

This has been working flawlessly with Jarvis beta releases, Jarvis stable and Krypton beta releases. That is, until beta 5 was released.

Explanation of the problem: Playing certain types of videos will simply show a black screen though the sound continues as normal (and subtitles for that matter). Only the picture is missing.
It does not happen with all files but I am not sure exactly what audo/video type that triggers the issue.
Furthermore, if I then try to play something that did work before it does not work after playing a video that fails. Even worse, if I exit Kodi then all apps able to show videos are broken as well, be it youtube, bloomberg etc.

As I understood it there has been a change to the way Kodi implements passthrough on Android. Based on this I have been testing with passthrough disabled.

Log file: https://drive.google.com/file/d/0B6p5mMW…sp=sharing

Process during testing:
disable passthrough
enabled logging
played DD5.1, H.264 flawlessly
played DD5.1, x264 flawlessly
played DTS x264 flawlessly
Played DTS H.264 which failed
went back and played DD5.1 h.264 that worked before and now it failed
turned off logging
exited

Edit:
Further tested different files (only one of each so may be missing something):
DD5.1, h.264 – works
DD5.1, x264 – works
DTS, x264 – works
DTS, h.264 – fails
ac3, h264 – fails
ac3, x264 – fails
ac3, xvid – works
aac, x264 – fails
aac2.0, h264 – fails

Hopefully someone will be able to figure this one out and fix it. Thank you to all developers for an amazing media center!