Commit 688a93d9 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Removing LOOP_MODE

because... well... you know... it was kinda ugly no ?
parent e570e792
......@@ -28,8 +28,6 @@
#include "Timeline.h"
#include "SettingsManager.h"
#define LOOP_MODE
WorkflowRenderer::WorkflowRenderer() :
m_mainWorkflow( MainWorkflow::getInstance() ),
m_stopping( false ),
......@@ -98,13 +96,6 @@ void* WorkflowRenderer::lock( void* datas )
if ( self->m_stopping == false )
{
#ifdef LOOP_MODE
if ( self->m_mainWorkflow->getCurrentFrame() == self->m_mainWorkflow->getLengthFrame() )
{
self->m_mainWorkflow->stop();
self->m_mainWorkflow->startRender();
}
#endif
MainWorkflow::OutputBuffers* ret = self->m_mainWorkflow->getSynchroneOutput();
memcpy( self->m_renderVideoFrame, (*(ret->video))->frame.octets, (*(ret->video))->nboctets );
self->m_renderAudioSample = ret->audio;
......
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