Skip to content

cli: Handle SIGINT and SIGTERM more gracefully

Henrik Gramner requested to merge gramner/dav1d:cli_signal_handler into master

Attempt to finish writing the current frame before exiting to avoid ending up with a partially written frame at the end of the output file.

Only try catching a signal once, falling back to the default behavior of exiting immediately the second time a given signal is raised.

Merge request reports

Loading