QOpusEncoder code cleaning