Commit 782fc8a3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MainWorkflow: removed useless lock.

parent 583943ab
......@@ -181,9 +181,11 @@ MainWorkflow::getClipPosition( const QUuid& uuid, unsigned int trackId,
void
MainWorkflow::stop()
{
QMutexLocker lock( m_renderStartedMutex );
QWriteLocker lock2( m_currentFrameLock );
/*
Assume the method can be called without locking anything, since the workflow won't
be queried by the renderer (When stopping the renderer, it stops its media player
before stopping the mainworkflow.
*/
m_renderStarted = false;
for (unsigned int i = 0; i < MainWorkflow::NbTrackType; ++i)
{
......
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