viewer: re-queue video renderer even when beyond the length

Ensures video renderer always renders where the playhead is.
This commit is contained in:
itsmattkc
2020-04-13 13:19:08 +10:00
parent cdf5a1058d
commit aac47ba776
3 changed files with 11 additions and 3 deletions
+1
View File
@@ -320,6 +320,7 @@ void ViewerWidget::UpdateTextureFromNode(const rational& time)
{
if (!GetConnectedNode() || time >= GetConnectedNode()->Length()) {
main_gl_widget()->SetImage(QString());
video_renderer_->UpdateLastRequestedTime(time);
} else {
QString frame_fn = video_renderer_->GetCachedFrame(time);