🎥 Make videos programmatically with React
Update get-seeking-byte.ts
Jonny Burgerd609320978a0
diff --git a/packages/media-parser/src/containers/flac/get-seeking-byte.ts b/packages/media-parser/src/containers/flac/get-seeking-byte.tsindex 6e5dff4ca3..7dc2fc4980 100644--- a/packages/media-parser/src/containers/flac/get-seeking-byte.ts+++ b/packages/media-parser/src/containers/flac/get-seeking-byte.ts@@ -14,6 +14,9 @@ export const getSeekingByteForFlac = ({continue;}+ // Everything is a keyframe in flac, so if this sample does not cover the time, it's not a good candidate.+ // Let's go to the next one. Exception: If we already saw the last sample, we use it so we find can at least+ // find the closest one.if (hint.timeInSeconds + hint.durationInSeconds < time &&!seekingHints.lastSampleObserved