Australian legend Shane Warne said players should stop “whinging” about sledging after an ugly row between David Warner and South Africa’s Quinton de Kock clouded the first Test in Durban.

CCTV footage showed Warner apparently turning on De Kock as the players walked up a narrow staircase leading to the dressing rooms during the tea break on Sunday.

Vice-captain Warner had to be restrained by his team-mates as he appeared to lose his temper, reportedly over a jibe about his wife Candice, although the South Africans blamed him for sparking the argument.

The incident is in the hands of match referee Jeff Crowe.

“The incident was discussed between the two team managers and the match referee last night and it is now in the hands of the on-field umpires and the match referee,” Cricket Australia said on Tuesday.

“Both teams were reminded by the match referee of the spirit in which the game should be played.”

The controversy has divided opinion, with Warne calling on the players to avoid “personal” comments – while also urging them to “have a beer together” and patch things up.

Former England captain Michael Vaughan suggested Warner had a reputation as a sledger and it was only a matter of time before insults were hurled back.

Australian great Adam Gilchrist also took to Twitter to voice an opinion, calling the spat “ugly”.

Former South African skipper Graeme Smith agreed it was not good for cricket, but suggested Warner only had himself to blame in an online reply to Gilchrist.

South African manager Mohammed Moosajee has blamed Warner.

“There were words said out on the field. If you are saying something you’ve got to take it and that’s the opinion of Quinton,” he said.