basesrc: handle renegotiation correctly