some ripple behavior fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user