| 170 | bool Timecode::operator>=(const Timecode &t) const { return (*this > t || *this == t); } |
| 171 | |
| 172 | void xstudio::utility::to_json(nlohmann::json &j, const Timecode &tc) { |
| 173 | j["timecode"] = to_string(tc); |
| 174 | j["framerate"] = tc.framerate(); |
| 175 | j["dropframe"] = tc.dropframe(); |
| 176 | } |
| 177 | |
| 178 | void xstudio::utility::from_json(const nlohmann::json &j, Timecode &tc) { |
| 179 | tc = Timecode( |