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

Removed WorkflowFileRenderer unlock callback, as it just calls WorkflowRenderer::unlock...

parent c8c6518a
...@@ -118,12 +118,6 @@ WorkflowFileRenderer::lock( void *datas, qint64 *dts, qint64 *pts, quint32 *flag ...@@ -118,12 +118,6 @@ WorkflowFileRenderer::lock( void *datas, qint64 *dts, qint64 *pts, quint32 *flag
return ret; return ret;
} }
void
WorkflowFileRenderer::unlock( void *datas, size_t size, void* buff )
{
WorkflowRenderer::unlock( datas, size, buff );
}
void void
WorkflowFileRenderer::__frameChanged( qint64 frame, MainWorkflow::FrameChangedReason ) WorkflowFileRenderer::__frameChanged( qint64 frame, MainWorkflow::FrameChangedReason )
{ {
...@@ -139,7 +133,7 @@ WorkflowFileRenderer::getLockCallback() ...@@ -139,7 +133,7 @@ WorkflowFileRenderer::getLockCallback()
void* void*
WorkflowFileRenderer::getUnlockCallback() WorkflowFileRenderer::getUnlockCallback()
{ {
return (void*)&WorkflowFileRenderer::unlock; return (void*)&WorkflowRenderer::unlock;
} }
quint32 quint32
......
...@@ -47,7 +47,6 @@ public: ...@@ -47,7 +47,6 @@ public:
quint32 abitrate); quint32 abitrate);
static int lock( void* datas, qint64 *dts, qint64 *pts, static int lock( void* datas, qint64 *dts, qint64 *pts,
quint32 *flags, size_t *bufferSize, void **buffer ); quint32 *flags, size_t *bufferSize, void **buffer );
static void unlock( void* datas, size_t size, void* buff );
virtual float getFps() const; virtual float getFps() const;
private: private:
......
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