diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index cd908d275..60e6890da 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -45,7 +46,6 @@ #include #include -#include "core/concurrentrun.h" #include "core/logging.h" #include "core/signalchecker.h" #include "core/timeconstants.h" @@ -1077,7 +1077,7 @@ GstState GstEnginePipeline::state() const { } QFuture GstEnginePipeline::SetState(const GstState state) { - return ConcurrentRun::Run(&set_state_threadpool_, &gst_element_set_state, pipeline_, state); + return QtConcurrent::run(&set_state_threadpool_, &gst_element_set_state, pipeline_, state); } bool GstEnginePipeline::Seek(const qint64 nanosec) {