The patch works nicely, thanks for adding this feature.
During my tests I noticed that hi10p movies with YUV 4:4:4 colorspace are still hardware decoded by kodi (completely black screen). These encoding settings are not common, and the S905 is too weak to decode these using software for anything beyond SD, but still it would be nice if it used software decode by default for those files.
If can provide links to samples, if you need.