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

Audio glitch on video restart #252

Open
Vizalkar opened this issue Oct 18, 2024 · 0 comments
Open

Audio glitch on video restart #252

Vizalkar opened this issue Oct 18, 2024 · 0 comments

Comments

@Vizalkar
Copy link

Describe the bug
When a video is paused, rewinding it by seeking 0 timestamp then resuming playback causes an audible glitch.

To Reproduce
Play a video with sound (I used ashthorp.mp4), then :

player->set(mdk::State::Paused);
/* you may wait a little here... */
player->seek(0, mdk::SeekFlags::FromStart);
player->set(mdk::State::Playing);

Expected behavior
Video should play from 0 without resuming playback of old audio buffer.

Environment:
OS: Windows

Additional information can be provided on demand

Regards
Adrien

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

No branches or pull requests

1 participant