began work setting several timings to use rational rather than long/double

This commit is contained in:
itsmattkc
2019-06-16 15:13:53 -07:00
parent 0acee942f4
commit 771572f65b
63 changed files with 448 additions and 397 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ OldEffectNodePtr SolidEffect::Create(Clip *c)
return std::make_shared<SolidEffect>(c);
}
void SolidEffect::redraw(double timecode) {
void SolidEffect::redraw(const rational &timecode) {
int w = img.width();
int h = img.height();
int alpha = qRound(opacity_field->GetDoubleAt(timecode)*2.55);