In this paper, the two-lane traffic are studied by using the lane-changing rules in the car-following models. The simulation show that the frequent lane changing occurs when the lateral distance in car following activities is considered and it gives rise to oscillating waves. In contrast, if the lateral distance is not considered (or considered occasionally), the lane changing appears infrequently and soliton waves occurs. This implies that the stabilization mechanism no longer functions when the lane changing is permitted. Since the oscillating and soliton waves correspond to the unstable and metastable flow regimes, respectively, our study verifies that a phase transition may occur as a result of the lane changing.