Skip to content

Never allow negative values in SRT timestamps#144

Merged
JonnyBurger merged 1 commit intomainfrom
bugfix/srt-generation
Mar 24, 2025
Merged

Never allow negative values in SRT timestamps#144
JonnyBurger merged 1 commit intomainfrom
bugfix/srt-generation

Conversation

@samohovets
Copy link
Member

@samohovets samohovets commented Mar 24, 2025

Since we're pre-mounting each scene by 30 frames (Scene.tsx), this may cause issues when emitting SRT file.

To fix that, let's not allow for the timestamps to go below 0.

I hope I'm not misunderstanding the root cause of the issue

@vercel
Copy link

vercel bot commented Mar 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
recorder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 24, 2025 3:15pm

@samohovets samohovets requested a review from JonnyBurger March 24, 2025 15:24
@JonnyBurger
Copy link
Member

Definitely makes sense to never allow them to be under 0

My understanding is that it's not the premounting, it's the AI which makes them go negative

@JonnyBurger JonnyBurger merged commit 9b6a505 into main Mar 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants