Commit d7821959 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

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.
parent 8cb66795
......@@ -68,6 +68,7 @@ class ClipWorkflow : public QObject
VideoFrame* getOutput();
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment