began support of timeline tracks/channels
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
RendererProcessor::RendererProcessor() :
|
||||
started_(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
QString RendererProcessor::Name()
|
||||
@@ -45,6 +44,8 @@ QString RendererProcessor::Description()
|
||||
|
||||
void RendererProcessor::Process(const rational &time)
|
||||
{
|
||||
Q_UNUSED(time)
|
||||
/*
|
||||
// Ensure we have started
|
||||
Start();
|
||||
|
||||
@@ -52,6 +53,8 @@ void RendererProcessor::Process(const rational &time)
|
||||
qWarning() << tr("An error occurred starting the Renderer node");
|
||||
return;
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
void RendererProcessor::Release()
|
||||
|
||||
@@ -67,6 +67,15 @@ public:
|
||||
*/
|
||||
void SetParameters(const int& width, const int& height, const olive::PixelFormat& format);
|
||||
|
||||
/**
|
||||
* @brief Return current instance of a RenderThread (or nullptr if there is none)
|
||||
*
|
||||
* This function attempts a dynamic_cast on QThread::currentThread() to RendererThread, which will return nullptr if
|
||||
* the cast fails (e.g. if this function is called from the main thread rather than a RendererThread).
|
||||
*/
|
||||
static RendererThread *CurrentThread();
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Allocate and start the multithreaded backend
|
||||
*/
|
||||
@@ -77,15 +86,6 @@ public:
|
||||
*/
|
||||
void Stop();
|
||||
|
||||
/**
|
||||
* @brief Return current instance of a RenderThread (or nullptr if there is none)
|
||||
*
|
||||
* This function attempts a dynamic_cast on QThread::currentThread() to RendererThread, which will return nullptr if
|
||||
* the cast fails (e.g. if this function is called from the main thread rather than a RendererThread).
|
||||
*/
|
||||
static RendererThread *CurrentThread();
|
||||
|
||||
private:
|
||||
QVector<RendererThreadPtr> threads_;
|
||||
|
||||
bool started_;
|
||||
|
||||
Reference in New Issue
Block a user