MCPcopy Create free account
hub / github.com/cinder/Cinder / initFromPath

Method initFromPath

src/cinder/qtime/QuickTimeImplLegacy.cpp:143–148  ·  view source on GitHub ↗

We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this

Source from the content-addressed store, hash-verified

141
142// We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this
143void MovieBase::initFromPath( const fs::path &filePath )
144{
145 startQuickTime();
146 getObj()->mMovie = openMovieFromPath( filePath );
147 init();
148}
149
150void MovieBase::initFromMemory( const void *data, size_t dataSize, const string &fileNameHint, const std::string &mimeTypeHint )
151{

Callers

nothing calls this directly

Calls 2

startQuickTimeFunction · 0.85
openMovieFromPathFunction · 0.85

Tested by

no test coverage detected