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

Crash with MPV player fixed. Show count of audio channels. #80

Merged
merged 11 commits into from
Apr 15, 2024

Conversation

dl1rf
Copy link
Contributor

@dl1rf dl1rf commented Apr 14, 2024

Hi Tom,
I have found and fixed an application crash with the MPV player and fixed it.
Also the amount of audio channels shows always 0 channels.
I added the missing code to show this information.

Maybe it is usefull for you.

vy 73 de Martin, DL1RF

dl1rf added 6 commits April 13, 2024 11:46
Add channel count info.
if no video is playing pressing the Mute Button results in _mpvHandle with NULL pointer. The try / catch do not handle this.
This reverts commit 6f1f46a.
While no video is playing pressing the Mute Button results in a application crash.
Reason: _mpvHandle has NULL pointer.
The "try/catch" do not handle this.
Detection of provided count of audio channels was missing.
@dl1rf
Copy link
Contributor Author

dl1rf commented Apr 14, 2024

Please ignore the reverted commits.
I have to find back in with Github and made some mistakes while commiting.
Only the last two commits are relevant.

dl1rf added 5 commits April 14, 2024 10:16
If audio is muted for the tuner and stream we start with Volume 100 or so here and get an annoying audio glitch.
(detected with MPV player)
WinterHill has 4 video sources.
Previous code was not able to handle this correctly.
The default preset settings for DefaultMuted, DefaultVolume and muted, preMute changed.
These settings are used if no settings are loaded.
@tomvdb tomvdb merged commit 428b9da into tomvdb:main Apr 15, 2024
@tomvdb
Copy link
Owner

tomvdb commented Apr 15, 2024

Hi Martin,

Nice! Thanks for looking into this and doing a pull request :) I'd definitely like to see more people get involved like this.

I'm going to merge the changes and will do some more testing, but it looks good.

73,
Tom

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