mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 04:40:30 +00:00
hd-rum-recompress: fix final crash
steps to reproduce the fixed behavior: 1) run `hd-rum-transcode 8M 7000 100::` 2) press Ctrl-C There is compress_done() called once - once by the now commented out line and then also with compress_state_deleter::operator(). This problem technically occurs since2ca38e7c(16th Jun 2025) when module_done() was replaced with compress_done(), which doesn't allow double call (in cotrary to module_done(), which does). The root of the problem is perhaps the commit7460563(2022-01-18).
This commit is contained in:
@@ -347,7 +347,7 @@ void recompress_done(struct state_recompress *s) {
|
||||
compress_frame(worker.second.compress.get(), nullptr);
|
||||
|
||||
worker.second.thread.join();
|
||||
compress_done(worker.second.compress.get());
|
||||
// compress_done(worker.second.compress.get());
|
||||
}
|
||||
}
|
||||
delete s;
|
||||
|
||||
Reference in New Issue
Block a user