Skip to content

Commit 618f8aa

Browse files
authored
docs: get last frame data (#58)
1 parent 01649af commit 618f8aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ class ExtractFrames extends Transform {
182182
done()
183183
}
184184

185-
// TODO: Fix not emitting the last frame in a stream
185+
_flush(done) {
186+
this.push(this.currentData);
187+
done();
188+
}
186189
}
187190
```
188191

0 commit comments

Comments
 (0)