Close the internal reader
| 397 | |
| 398 | // Close the internal reader |
| 399 | void Clip::Close() |
| 400 | { |
| 401 | if (is_open && reader) { |
| 402 | ZmqLogger::Instance()->AppendDebugMethod("Clip::Close"); |
| 403 | |
| 404 | // Close the reader |
| 405 | reader->Close(); |
| 406 | } |
| 407 | |
| 408 | // Clear cache |
| 409 | final_cache.Clear(); |
| 410 | is_open = false; |
| 411 | } |
| 412 | |
| 413 | // Get end position of clip (trim end of video), which can be affected by the time curve. |
| 414 | float Clip::End() const |
no test coverage detected