[PATCH 2/3] qcap: Iterate over all frame intervals to get the max/min.