We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3d5713 commit a79ed3dCopy full SHA for a79ed3d
1 file changed
README.md
@@ -111,19 +111,17 @@ C++:
111
112
#include "opentimelineio/timeline.h"
113
114
-namespace otio = opentimelineio::OPENTIMELINEIO_VERSION;
115
-
116
void
117
main()
118
{
119
- otio::SerializableObject::Retainer<otio::Timeline> tl(
120
- dynamic_cast<otio::Timeline*>(
121
- otio::Timeline::from_json_file("taco.otio")
+ OTIO_NS::SerializableObject::Retainer<OTIO_NS::Timeline> tl(
+ dynamic_cast<OTIO_NS::Timeline*>(
+ OTIO_NS::Timeline::from_json_file("taco.otio")
122
)
123
);
124
for (const auto& cl : tl->find_clips())
125
126
- otio::RationalTime dur = cl->duration();
+ OTIO_NS::RationalTime dur = cl->duration();
127
std::cout << "Name: " << cl->name() << " [";
128
std::cout << dur.value() << "/" << dur.rate() << "]" << std::endl;
129
}
0 commit comments