viewer: only render sequence waveforms when waveform view is visible

This commit is contained in:
itsmattkc
2022-10-04 21:51:05 -07:00
parent 5d5b2440a1
commit 906f802422
3 changed files with 20 additions and 9 deletions
+3 -1
View File
@@ -182,7 +182,7 @@ public:
virtual ValueHint GetConnectedSampleValueHint();
virtual void ConnectedToPreviewEvent() override;
void SetWaveformEnabled(bool e);
bool IsVideoAutoCacheEnabled() const { qDebug() << "sequence ac is a stub"; return false; }
void SetVideoAutoCacheEnabled(bool e) { qDebug() << "sequence ac is a stub"; }
@@ -251,6 +251,8 @@ private:
EncodingParams last_used_encoding_params_;
bool waveform_requests_enabled_;
};
}