From caebab7481b710b4be7c63de6b5da6470a58be95 Mon Sep 17 00:00:00 2001 From: Hugo Beauzee-Luyssen Date: Thu, 24 Sep 2009 12:30:12 +0200 Subject: [PATCH] Avoiding wasting time and ressource when initializing a clip. When loading a clip, media player was launched in play state, then paused, then unpaused. Not it's just launched in a play state. Preloading still use this method, as it's not supposed to play before we explicitly ask for it. --- src/Workflow/ClipWorkflow.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Workflow/ClipWorkflow.h b/src/Workflow/ClipWorkflow.h index 9a3a7b5b6..6a7052ec5 100644 --- a/src/Workflow/ClipWorkflow.h +++ b/src/Workflow/ClipWorkflow.h @@ -69,6 +69,7 @@ class ClipWorkflow : public QObject virtual void* getOutput() = 0; virtual void initVlcOutput() = 0; void initialize( bool preloading = false ); + /** * Return true ONLY if the state is equal to Ready. * If the state is Rendering, EndReached or anything else, this will -- GitLab