We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this
| 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 |
| 143 | void MovieBase::initFromPath( const fs::path &filePath ) |
| 144 | { |
| 145 | startQuickTime(); |
| 146 | getObj()->mMovie = openMovieFromPath( filePath ); |
| 147 | init(); |
| 148 | } |
| 149 | |
| 150 | void MovieBase::initFromMemory( const void *data, size_t dataSize, const string &fileNameHint, const std::string &mimeTypeHint ) |
| 151 | { |
nothing calls this directly
no test coverage detected