| 141 | } |
| 142 | |
| 143 | void loadingWorker::processCacheJobInternal() |
| 144 | { |
| 145 | Q_ASSERT_X(currentCacheItem != nullptr, Q_FUNC_INFO, "Invalid Job - Item is nullptr"); |
| 146 | Q_ASSERT_X(currentFrame >= 0 || !currentCacheItem->properties().isIndexedByFrame(), |
| 147 | Q_FUNC_INFO, |
| 148 | "Given frame index invalid"); |
| 149 | DEBUG_JOBS("loadingWorker::processCacheJobInternal"); |
| 150 | |
| 151 | // Just cache the frame that was given to us. |
| 152 | // This is performed in the thread that this worker is currently placed in. |
| 153 | currentCacheItem->cacheFrame(currentFrame, testMode); |
| 154 | |
| 155 | currentCacheItem = nullptr; |
| 156 | DEBUG_JOBS("loadingWorker::processCacheJobInternal emit loadingFinished"); |
| 157 | emit loadingFinished(); |
| 158 | } |
| 159 | |
| 160 | void loadingWorker::processLoadingJobInternal(bool playing, bool loadRawData) |
| 161 | { |
nothing calls this directly
no test coverage detected