waveforms: moved waveform to track rather than block
This is a much more robust and thread-safe system of storing the waveforms.
This commit is contained in:
@@ -45,7 +45,15 @@ public:
|
||||
|
||||
void SetViewerNode(ViewerOutput* viewer_node);
|
||||
|
||||
void SetUpdateWithGraph(bool e);
|
||||
void SetUpdateWithGraph(bool e)
|
||||
{
|
||||
update_with_graph_ = e;
|
||||
}
|
||||
|
||||
void SetGeneratePreviews(bool e)
|
||||
{
|
||||
generate_previews_ = e;
|
||||
}
|
||||
|
||||
void ClearVideoQueue();
|
||||
|
||||
@@ -113,9 +121,13 @@ private:
|
||||
|
||||
bool update_with_graph_;
|
||||
|
||||
bool generate_previews_;
|
||||
|
||||
private slots:
|
||||
void WorkerFinished();
|
||||
|
||||
void WorkerGeneratedWaveform(const OLIVE_NAMESPACE::TrackOutput* copied_track, const OLIVE_NAMESPACE::AudioVisualWaveform& samples, const OLIVE_NAMESPACE::rational& start);
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
|
||||
Reference in New Issue
Block a user