export: fixed many export formats including still image and image sequence export

Still incomplete, but does a lot towards #1345
This commit is contained in:
itsmattkc
2021-05-05 19:03:03 +10:00
parent dedc189ebf
commit 4942970c02
27 changed files with 775 additions and 173 deletions
+8 -1
View File
@@ -135,7 +135,14 @@ opentime::RationalTime rational::toRationalTime(double framerate) const
rational rational::flipped() const
{
return rational(denom_, numer_);
rational r = *this;
r.flip();
return r;
}
void rational::flip()
{
std::swap(denom_, numer_);
}
bool rational::isNull() const