only set video quality if media type is video