| 319 | } |
| 320 | |
| 321 | void HRD::endOfFile(HRDPlotModel *plotModel) |
| 322 | { |
| 323 | // From time this->t_af_nm1 onwards, just remove all of the frames which have not been removed |
| 324 | // yet. |
| 325 | auto lastFrameTime = this->t_af_nm1; |
| 326 | for (const auto &frame : this->framesToRemove) |
| 327 | { |
| 328 | this->addConstantBufferLine(frame.poc, lastFrameTime, frame.t_r, plotModel); |
| 329 | this->removeFromBufferAndCheck(frame, frame.poc, frame.t_r, plotModel); |
| 330 | lastFrameTime = frame.t_r; |
| 331 | } |
| 332 | this->framesToRemove.clear(); |
| 333 | } |
| 334 | |
| 335 | std::vector<HRD::HRDFrameToRemove> HRD::popRemoveFramesInTimeInterval(time_t from, time_t to) |
| 336 | { |
no test coverage detected