Quote from chewitt , who explained it to me in the background:
QuoteDisplay Morefeel free to mess with compile flags AND disabling hardware decoding
the latter is important, because when you enable hardware decoding (on most hardware) Kodi is trying to use a zero-copy path
zero-copy basically means no opportunity to mess with the stream (as that requires copying)
most hardware cannot CPU decode and process high-bitrate 4K UHD media
the example given of low-latency DJ tools being able to stretch audio is correct, but ignores the reality of 4K UHD video being 10x the data size of an mp3 file
all that data needs to be moved in/out of memory multiple times once you mess with it
and at that point all the whizzy ideas are dead in the water