viewer: reimplemented playback queue warning

Not really sure why this was removed, must have been lost in the rewrite work.
This commit is contained in:
itsmattkc
2020-05-23 02:33:25 +10:00
parent 930248ce07
commit 5b28070ed8
+3
View File
@@ -394,6 +394,7 @@ void ViewerWidget::UpdateTextureFromNode(const rational& time)
if (IsPlaying()) {
while (!playback_queue_.isEmpty()) {
const ViewerPlaybackFrame& pf = playback_queue_.first();
if (pf.timestamp == time) {
@@ -411,6 +412,8 @@ void ViewerWidget::UpdateTextureFromNode(const rational& time)
}
}
qWarning() << "Playback queue failed to keep up";
}
// Frame was not in queue, will require rendering or decoding from cache