Skip to content

Commit

Permalink
* Add FrameGrabber.resetStartTime() to allow grabAtFrameRate() a…
Browse files Browse the repository at this point in the history
…fter operations such as seeking (pull bytedeco#1846)
  • Loading branch information
Nycrera authored Aug 1, 2022
1 parent d1b1f4e commit 7ce2b98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Add `FrameGrabber.resetStartTime()` to allow `grabAtFrameRate()` after operations such as seeking ([pull #1846](https://github.com/bytedeco/javacv/pull/1846))
* Add `FrameGrabber.videoSideData/audioSideData` properties and `FFmpegFrameGrabber.getDisplayRotation()` for convenience ([issue #1361](https://github.com/bytedeco/javacv/issues/1361))
* Add to `FFmpegFrameGrabber` and `FFmpegFrameRecorder` constructors taking a `URL` for convenience and clarity
* Fix incorrect call to `opencv_calib3d.stereoRectify()` in `ProjectiveDevice` ([issue #1802](https://github.com/bytedeco/javacv/issues/1802))
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/bytedeco/javacv/FrameGrabber.java
Original file line number Diff line number Diff line change
Expand Up @@ -788,4 +788,8 @@ public boolean waitForTimestamp(Frame frame) throws InterruptedException {
}
return false;
}

public void resetStartTime() {
startTime = 0;
}
}

0 comments on commit 7ce2b98

Please sign in to comment.