plugins/screencast: Reset last sent timestamp when the stream resumes
Hypothetically, if the stream is paused and restarted in a short burst, the frame throttling logic can be mis-triggered.
This commit is contained in:
parent
529ccbbd18
commit
24f4e268a9
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ void ScreenCastStream::onStreamStateChanged(pw_stream_state old, pw_stream_state
|
|||
break;
|
||||
case PW_STREAM_STATE_STREAMING:
|
||||
m_streaming = true;
|
||||
m_lastSent = QDateTime();
|
||||
m_source->resume();
|
||||
break;
|
||||
case PW_STREAM_STATE_CONNECTING:
|
||||
|
|
Loading…
Reference in a new issue