some ripple behavior fixes

This commit is contained in:
itsmattkc
2019-09-21 01:01:15 +10:00
parent 885aee97a2
commit d0d4756129
8 changed files with 45 additions and 6 deletions
+12
View File
@@ -64,6 +64,8 @@ const rational& Block::length()
void Block::set_length(const rational &length)
{
Q_ASSERT(length > 0);
Lock();
length_ = length;
@@ -177,6 +179,16 @@ void Block::set_media_in(const rational &media_in)
}
}
const QString &Block::block_name()
{
return block_name_;
}
void Block::set_block_name(const QString &name)
{
block_name_ = name;
}
rational Block::SequenceToMediaTime(const rational &sequence_time)
{
// These constants are not considered "values" per se, so we don't modify them