fixes video corruption after appending media segment with a quality currently used by the player