multicam: prioritize current clip under playhead

This commit is contained in:
itsmattkc
2022-09-29 19:45:38 -07:00
parent 6e183fe4be
commit 640e6741f4
6 changed files with 96 additions and 41 deletions
+8
View File
@@ -799,6 +799,14 @@ void ViewerWidget::UpdateTextureFromNode()
}
}
void ViewerWidget::SetMulticamNode(MultiCamNode *n)
{
auto_cacher()->SetMulticamNode(n);
if (!IsPlaying()) {
UpdateTextureFromNode();
}
}
void ViewerWidget::PlayInternal(int speed, bool in_to_out_only)
{
Q_ASSERT(speed != 0);
+1 -4
View File
@@ -109,10 +109,7 @@ public:
playback_devices_.push_back(vw);
}
void SetMulticamNode(MultiCamNode *n)
{
auto_cacher()->SetMulticamNode(n);
}
void SetMulticamNode(MultiCamNode *n);
public slots:
void Play(bool in_to_out_only);