- let pts = NATimeInfo::time_to_ts(time, 1000, str.tb_num, str.tb_den);
- let pos = str.find_pos(pts);
- if pos.is_none() { continue; }
- let pos = pos.unwrap();
+ let res = str.find_pos(time);
+ if res.is_none() { continue; }
+ let res = res.unwrap();