MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Clear

Method Clear

src/FrameMapper.cpp:100–109  ·  view source on GitHub ↗

Clear both the fields & frames lists

Source from the content-addressed store, hash-verified

98
99// Clear both the fields & frames lists
100void 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.

Callers 3

InitMethod · 0.45
CloseMethod · 0.45
ChangeMappingMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected