Skip to content

Commit

Permalink
fix a bug in video recording
Browse files Browse the repository at this point in the history
  • Loading branch information
ototadana committed Jan 1, 2023
1 parent cfcfcf7 commit 90a855a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group 'com.xpfriend.tydrone'
version '1.1.1'
version '1.1.2'
sourceCompatibility = 1.8
targetCompatibility = 1.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private synchronized void stopRecorder() {
}

private FFmpegFrameRecorder startRecorder(File outputFile) throws FFmpegFrameRecorder.Exception {
frameNumber = 0;
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(outputFile, 960, 720, 0);
recorder.setVideoQuality(1);
recorder.setTimestamp(0);
Expand Down

0 comments on commit 90a855a

Please sign in to comment.