You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To replicate this issue in player.exe, hit pause button and keep seeking.
This may not a bug, but it"s a bit annoying for users.
In my program, I tried to mute/ zero volume the audio before seeking by calling:
AVPlayer::audio() -> setMute(true)
Then I catch seekFinished(qint64 pos) signal to re-enable the audio but a short audio still played. I also added AVPlayer::audio() -> flush(); AVPlayer::audio() -> clear() to make sure audio buffer is clear but it won"t help.
I guess, when seekFinished is emitted, the video thread has finished seeking while audio thread hasn"t.
Let me know if you have any idea. Thanks
The text was updated successfully, but these errors were encountered:
when playback is paused, ao still gets 1 frame audio data after seek, so
short audio will be played. the simplest solution is set ao to paused
state, and ignore the incoming data
To replicate this issue in player.exe, hit pause button and keep seeking.
This may not a bug, but it"s a bit annoying for users.
In my program, I tried to mute/ zero volume the audio before seeking by calling:
Then I catch seekFinished(qint64 pos) signal to re-enable the audio but a short audio still played. I also added AVPlayer::audio() -> flush(); AVPlayer::audio() -> clear() to make sure audio buffer is clear but it won"t help.
I guess, when seekFinished is emitted, the video thread has finished seeking while audio thread hasn"t.
Let me know if you have any idea. Thanks
The text was updated successfully, but these errors were encountered: