Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MythMusic: WaveForm: Fix divide by zero crash on zero track length #859

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

twitham1
Copy link
Contributor

@twitham1 twitham1 commented Feb 9, 2024

A track length of zero milliseconds is most likely wrong but can accidentally happen. Rather than crash on divide by zero
later, let's pretend it is 1 minute long. If the file plays successfully, then it should record the correct track length
and be more correct next time.

Also push fullscreen vis to the top of the stream menu since it is used more than add/edit/remove

@kmdewaal kmdewaal merged commit 8bb0dcd into MythTV:master Feb 11, 2024
8 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