diff --git a/CMakeLists.txt b/CMakeLists.txt index 14b90e19d..c897ea581 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,8 @@ set(OLIVE_SOURCES global/math.h global/path.cpp global/path.h + global/rational.h + global/rational.cpp global/timing.cpp global/timing.h nodes/inputs/boolinput.cpp diff --git a/global/rational.cpp b/global/rational.cpp new file mode 100644 index 000000000..66fc7b288 --- /dev/null +++ b/global/rational.cpp @@ -0,0 +1,2 @@ +#include "rational.h" + diff --git a/global/rational.h b/global/rational.h new file mode 100644 index 000000000..b02b0caca --- /dev/null +++ b/global/rational.h @@ -0,0 +1,14 @@ +#ifndef RATIONAL_H +#define RATIONAL_H + +#include + +namespace olive { + /** + * Rational type for timeline values. Currently we just use FFmpeg's AVRational for ease but we can change this + * later if we want. + */ + using rational = AVRational; +}; + +#endif // RATIONAL_H