mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 10:22:31 +01:00
fix bug #1785
This commit is contained in:
parent
1a574c02b2
commit
b806a8853c
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user