mssdemux: some fixes to bitrate switching