Commit 8507cf21 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Work around to have a black output when a track is muted.

This is ugly and will have to go when InputSlots will be fixed (They always store the last displayed frame)
parent 0a7bab94
......@@ -118,7 +118,12 @@ TrackHandler::getOutput( qint64 currentFrame, qint64 subFrame )
if ( m_trackType == MainWorkflow::VideoTrack )
{
if ( m_tracks[i].activated() == false )
m_effectEngine->setVideoInput( i + 1, *TrackHandler::nullOutput );
{
if ( m_tracks[i].hardDeactivated() == true )
m_effectEngine->setVideoInput( i + 1, *MainWorkflow::blackOutput );
else
m_effectEngine->setVideoInput( i + 1, *TrackHandler::nullOutput );
}
else
{
void* ret = m_tracks[i]->getOutput( currentFrame, subFrame );
......
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