You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed some big memory leaks with audio samples and ffmpeg (pprof ./openshot-example "/tmp/openshot-example.30691._main_-end.heap" --inuse_objects --lines --heapcheck --edgefraction=1e-10 --nodefraction=1e-10 --gv
This commit is contained in:
@@ -97,7 +97,7 @@ int main(int argc, char* argv[])
|
||||
//r9.GetFrame(frame_number)->DisplayWaveform();
|
||||
//f->DisplayWaveform();
|
||||
//f->AddColor(r9.info.width, r9.info.height, "blue");
|
||||
//w9.WriteFrame(f);
|
||||
w9.WriteFrame(f);
|
||||
|
||||
//frame++;
|
||||
}
|
||||
@@ -112,6 +112,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
// Close timeline
|
||||
r9.Close();
|
||||
map.Close();
|
||||
/* ---------------- */
|
||||
cout << "happy ending" << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user