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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user