Clear both the fields & frames lists
| 98 | |
| 99 | // Clear both the fields & frames lists |
| 100 | void FrameMapper::Clear() { |
| 101 | // Prevent async calls to the following code |
| 102 | const std::lock_guard<std::recursive_mutex> lock(getFrameMutex); |
| 103 | |
| 104 | // Clear the fields & frames lists |
| 105 | fields.clear(); |
| 106 | fields.shrink_to_fit(); |
| 107 | frames.clear(); |
| 108 | frames.shrink_to_fit(); |
| 109 | } |
| 110 | |
| 111 | // Use the original and target frame rates and a pull-down technique to create |
| 112 | // a mapping between the original fields and frames or a video to a new frame rate. |
no test coverage detected