Correct the chunk-based timecode fixer
This commit is contained in:
parent
d9e197ec7d
commit
00fc1fcb2a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ impl<S: Stream<Item = Chunk>> Stream for ChunkTimecodeFixer<S>
|
||||||
}
|
}
|
||||||
|
|
||||||
cluster_head.update_timecode(start + self.current_offset);
|
cluster_head.update_timecode(start + self.current_offset);
|
||||||
self.last_observed_timecode = cluster_head.end + self.current_offset;
|
self.last_observed_timecode = cluster_head.end;
|
||||||
},
|
},
|
||||||
Ok(Async::Ready(Some(Chunk::Headers {..}))) => {
|
Ok(Async::Ready(Some(Chunk::Headers {..}))) => {
|
||||||
if self.seen_header {
|
if self.seen_header {
|
||||||
|
|
Loading…
Reference in a new issue