From 0ef00d77241cfa17df3a3c3bfdd69a5a3b1a82c4 Mon Sep 17 00:00:00 2001 From: Soham Tilekar Date: Mon, 8 Apr 2024 14:59:34 +0530 Subject: [PATCH] Add Clip class with setTimeTransforms method to Clip.cpp --- _c_vidiopy/_cpp/Clip.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/_c_vidiopy/_cpp/Clip.cpp b/_c_vidiopy/_cpp/Clip.cpp index e69de29..2d7317d 100644 --- a/_c_vidiopy/_cpp/Clip.cpp +++ b/_c_vidiopy/_cpp/Clip.cpp @@ -0,0 +1,18 @@ +#include "vidiopy.hpp" + +class Clip +{ +public: + double start; + double end; + double duration; + double fps; + std::string name; + void setTimeTransforms(std::function func) + { + timeTransforms.push_back(func); + }; + +private: + std::vector> timeTransforms; +};