RTP Player: Fix: Playback marker do not move after resume with Qt6
This commit is contained in:
parent
30d829d429
commit
e67c71faba
|
@ -32,6 +32,9 @@ The following bugs have been fixed:
|
|||
|
||||
* wsbuglink:18413[No Audio in RTP player with Wireshark 4.0.0] - RTP player do not play audio frequently on Win32 builds with Qt6
|
||||
|
||||
* wsbuglink:18510[Paused playback cannot continue to play] - Playback marker do not move after unpause with Qt6
|
||||
|
||||
|
||||
//* wsbuglink:5000[]
|
||||
//* wsbuglink:6000[Wireshark bug]
|
||||
//* cveidlink:2014-2486[]
|
||||
|
|
|
@ -1422,6 +1422,9 @@ void RtpPlayerDialog::on_playButton_clicked()
|
|||
}
|
||||
|
||||
// Start progress marker and then audio streams
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||
notify_timer_start_diff_ = -1;
|
||||
#endif
|
||||
marker_stream_->start(new AudioSilenceGenerator());
|
||||
// It may happen that stream play is finished before all others are started
|
||||
// therefore we do not use playing_streams_ there, but separate temporarly
|
||||
|
@ -1451,7 +1454,6 @@ QAudioDevice RtpPlayerDialog::getCurrentDeviceInfo()
|
|||
void RtpPlayerDialog::sinkStateChanged()
|
||||
{
|
||||
if (marker_stream_->state() == QAudio::ActiveState) {
|
||||
notify_timer_start_diff_ = -1;
|
||||
notify_timer_.start();
|
||||
} else {
|
||||
notify_timer_.stop();
|
||||
|
|
Loading…
Reference in New Issue