Skip to content

Commit 0114c66

Browse files
committed
Use auto or forced FPS for stabilisation strength.
1 parent 41b6654 commit 0114c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/dan/videostab/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ class MainActivity : AppCompatActivity() {
519519
} catch (e: Exception) {
520520
}
521521

522-
val movingAverageWindowSize = videoProps.frameRate * (binding.seekBarStrength.progress + 1)
522+
val movingAverageWindowSize = outputFrameRate * (binding.seekBarStrength.progress + 1)
523523

524524
val newTrajectoryX: List<Double>
525525
val newTrajectoryY: List<Double>

0 commit comments

Comments
 (0)