Added correct handling of audio and video adaptationsets in gui