Fix the logic when changing transcoding