Fix #15 video quality recalculation