@@ 178,7 178,10 @@ functor ResamplingStatefulStreamFn (S: R
if target < 0
then false
else if not (Option.isSome resampler)
- then S.seek (upstream, m, t)
+ then if S.seek (upstream, m, t)
+ then (reset s;
+ true)
+ else false
else case simpleFactorStatus s of
NOT_SIMPLE => false
| UP n =>