I’ve had that happen before. Try toggling the hardware acceleration feature in Kodi Settings > Player > Video > Processing