1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00
This commit is contained in:
Mikael Finstad 2023-12-21 16:50:01 +08:00
parent 1a574c02b2
commit b806a8853c
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -866,7 +866,8 @@ const App = memo(() => {
const video = videoRef.current; 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; if (resetPlaybackRate) video.playbackRate = outputPlaybackRate;
video.play().catch((err) => { video.play().catch((err) => {