Commit 71dc84dd authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Fix build error introduced in previous commit

parent 9c86446a
......@@ -65,7 +65,10 @@ AudioClipWorkflow::getOutput( ClipWorkflow::GetMode mode )
QMutexLocker lock2( m_computedBuffersMutex );
if ( preGetOutput() == false )
{
qDebug() << "Nothing to return in audio";
return NULL;
}
if ( isEndReached() == true )
return NULL;
if ( mode == ClipWorkflow::Get )
......
......@@ -141,7 +141,7 @@ MainWorkflow::getOutput( TrackType trackType )
m_currentFrame[trackType] );
if ( trackType == MainWorkflow::VideoTrack )
{
m_effectEngine->setCurrentFrameNumber( m_currentFrame );
m_effectEngine->setCurrentFrameNumber( m_currentFrame[VideoTrack] );
m_effectEngine->render();
const LightVideoFrame &tmp = m_effectEngine->getVideoOutput( 1 );
m_outputBuffers->video = &tmp;
......
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