Skip to content

The swiss army knife of lossless video/audio editing

fix bug #1785

Mikael Finstadb806a8853ca7
diff --git a/src/App.jsx b/src/App.jsx
index cbc1d606..ecda7fc7 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -866,7 +866,8 @@ const App = memo(() => {
const video = videoRef.current;
- if (Math.abs(commandedTimeRef.current - video.currentTime) > 1) video.currentTime = commandedTimeRef.current;
+ // This was added to re-sync time if file gets reloaded #1674 - but I had to remove this because it broke loop-selected-segments https://github.com/mifi/lossless-cut/discussions/1785#discussioncomment-7852134
+ // if (Math.abs(commandedTimeRef.current - video.currentTime) > 1) video.currentTime = commandedTimeRef.current;
if (resetPlaybackRate) video.playbackRate = outputPlaybackRate;
video.play().catch((err) => {