Skip to content

Commit a4097ba

Browse files
committed
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 since 2ca38e7 (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 commit 7460563 (2022-01-18).
1 parent fb4420e commit a4097ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hd-rum-translator/hd-rum-recompress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void recompress_done(struct state_recompress *s) {
347347
compress_frame(worker.second.compress.get(), nullptr);
348348

349349
worker.second.thread.join();
350-
compress_done(worker.second.compress.get());
350+
// compress_done(worker.second.compress.get());
351351
}
352352
}
353353
delete s;

0 commit comments

Comments
 (0)