I've noticed, that the amlogic hardware decoder (S905) switches to a resolution of 1440x1080 on some live tv channels (DVB-S, 1080i via tvheadend), while it should be 1920x1080. The problem does not occur, when playing a recording of the same channel. I think it's the same problem, gergov reported: LibreELEC
After some tinkering, I've figured out that I can work around this with the following kodi patch:
Diff
--- a/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp 2016-09-09 19:39:44.345220368 +0200
+++ b/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp 2016-09-09 19:46:33.692885967 +0200
@@ -981,6 +981,11 @@
(m_output.framerate == 0.0 || fmod(m_output.framerate, config_framerate) != 0.0) &&
(render_framerate != config_framerate);
+ if (pPicture->iWidth == 1440 && pPicture->iDisplayWidth == 1440 && pPicture->iHeight == 1080 && config_framerate == 25.0) {
+ pPicture->iWidth = 1920;
+ pPicture->iDisplayWidth = 1920;
+ }
+
/* check so that our format or aspect has changed. if it has, reconfigure renderer */
if (!g_renderManager.IsConfigured()
|| ( m_output.width != pPicture->iWidth )
Display More
Of course, this isn't a correct fix, as it overrides the width for all 1440x1080 videos, but it works for me...