A Robust Mechanism for Adaptive Scheduling of Multimedia Applications