viewer: smarter pre-queuing

This commit is contained in:
itsmattkc
2021-04-29 23:56:42 +10:00
parent f8d175c2ad
commit 8a850dac9f
2 changed files with 52 additions and 28 deletions
+4 -2
View File
@@ -187,9 +187,9 @@ private:
void SetDisplayImage(FramePtr frame, bool main_only);
void RequestNextFrameForQueue();
void RequestNextFrameForQueue(bool prioritize = false, bool increment = true);
RenderTicketPtr GetFrame(const rational& t, bool clear_render_queue);
RenderTicketPtr GetFrame(const rational& t, bool clear_render_queue, bool prioritize);
void FinishPlayPreprocess();
@@ -252,6 +252,8 @@ private:
FramePtr last_loaded_buffer_;
bool last_loaded_buffer_is_empty_;
int active_queue_jobs_;
static QVector<ViewerWidget*> instances_;
private slots: