| 14 | } |
| 15 | |
| 16 | void VideoExtractor::Start(IVideoExtractorCallback callback) |
| 17 | { |
| 18 | if (thread == nullptr) { |
| 19 | isRunning = true; |
| 20 | this->callback = callback; |
| 21 | thread = new std::thread(std::bind(&VideoExtractor::run, this)); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | void VideoExtractor::Stop() |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected