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

Removed debug

parent 775ba411
......@@ -215,7 +215,6 @@ MainWorkflow::OutputBuffers* MainWorkflow::getSynchroneOutput()
m_outputBuffers->video = &( m_effectEngine->getOutputFrame( 0 ) );
// m_outputBuffers->video = reinterpret_cast<LightVideoFrame*>( m_tracks[TrackWorkflow::Video]->getSynchroneOutput() );
// m_outputBuffers->audio = reinterpret_cast<unsigned char*>( m_tracks[TrackWorkflow::Audio]->getSynchroneOutput() );
qDebug() << "video ptr:" << (void*) m_outputBuffers->video;
return m_outputBuffers;
}
......
......@@ -299,10 +299,7 @@ void TrackHandler::tracksRenderCompleted( unsigned int trackId )
if ( buff == NULL )
m_effectEngine->setInputFrame( *TrackHandler::nullOutput, trackId );
else
{
qDebug() << "About to feed effect engine with frame" << (void*)buff;
m_effectEngine->setInputFrame( *buff, trackId );
}
}
else
{
......
......@@ -81,11 +81,7 @@ void* VideoClipWorkflow::getOutput()
QMutexLocker lock( m_renderLock );
if ( isEndReached() == true )
{
qDebug()<< "End reached is true, returning NULL";
return NULL;
}
qDebug() << "ptr:" << (void*)m_buffer;
return m_buffer;
}
......@@ -94,7 +90,7 @@ void VideoClipWorkflow::lock( VideoClipWorkflow* cw, void** pp_ret, int size
Q_UNUSED( size );
cw->m_renderLock->lock();
*pp_ret = (*(cw->m_buffer))->frame.pixels;
qDebug() << '[' << (void*)cw << "] ClipWorkflow::lock";
// qDebug() << '[' << (void*)cw << "] ClipWorkflow::lock";
}
void VideoClipWorkflow::unlock( VideoClipWorkflow* cw, void* buffer, int width, int height, int bpp, int size )
......@@ -119,7 +115,7 @@ void VideoClipWorkflow::unlock( VideoClipWorkflow* cw, void* buffer, int widt
cw->m_renderWaitCond->wake();
}
cw->emit renderComplete( cw );
qDebug() << "Emmiting render completed";
// qDebug() << "Emmiting render completed";
// qDebug() << "Entering cond wait";
cw->m_waitCond->wait( cw->m_condMutex );
......
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