Commit 006f34c6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ClipWorkflow: Ease up debugging

parent 8832573d
......@@ -103,6 +103,7 @@ AudioClipWorkflow::getOutput( ClipWorkflow::GetMode mode, qint64 )
void AudioClipWorkflow::initializeInternals()
{
m_renderer->setName( qPrintable( QString("AudioClipWorkflow " % m_clipHelper->uuid().toString() ) ) );
m_renderer->setOutputAudioCodec( "f32l" );
m_renderer->setOutputAudioNumberChannels( 2 );
m_renderer->setOutputAudioSampleRate( 48000 );
......
......@@ -67,7 +67,6 @@ ClipWorkflow::initialize()
delete m_renderer;
m_renderer = m_clipHelper->clip()->getMedia()->source()->createRenderer( m_eventWatcher );
m_renderer->setName( qPrintable( QString("ClipWorkflow " % m_clipHelper->uuid().toString() ) ) );
preallocate();
initializeInternals();
......
......@@ -22,6 +22,7 @@
#include <QMutex>
#include <QReadWriteLock>
#include <QStringBuilder>
#include "ImageClipWorkflow.h"
#include "Media/Clip.h"
......@@ -52,6 +53,7 @@ ImageClipWorkflow::~ImageClipWorkflow()
void ImageClipWorkflow::initializeInternals()
{
m_renderer->setName( qPrintable( QString("ImageClipWorkflow " % m_clipHelper->uuid().toString() ) ) );
m_renderer->enableVideoOutputToMemory( this, &lock, &unlock, m_fullSpeedRender );
m_renderer->setOutputWidth( m_width );
m_renderer->setOutputHeight( m_height );
......
......@@ -80,6 +80,7 @@ void
VideoClipWorkflow::initializeInternals()
{
initFilters();
m_renderer->setName( qPrintable( QString("VideoClipWorkflow " % m_clipHelper->uuid().toString() ) ) );
m_renderer->enableVideoOutputToMemory( this, &lock, &unlock, m_fullSpeedRender );
m_renderer->setOutputWidth( m_width );
m_renderer->setOutputHeight( m_height );
......
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