Skip to content

Commit 5c519ce

Browse files
authored
Merge pull request #858 from Keinsleif/fix/seek_on_skip_duration
fix: try_seek on SkipDuration not relative from skipped duration
2 parents 0c8d942 + 2ea0ec2 commit 5c519ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source/skip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ where
158158

159159
#[inline]
160160
fn try_seek(&mut self, pos: Duration) -> Result<(), SeekError> {
161-
self.input.try_seek(pos)
161+
self.input.try_seek(pos + self.skipped_duration)
162162
}
163163
}
164164

0 commit comments

Comments
 (0)