fix detect prefer quality index by bitrate