diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-05 22:39:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-05 23:46:06 +0100 |
| commit | 47258993e57bfe09f0d5b4274166f92ab29148a4 (patch) | |
| tree | adb2f04b459d5b0637f5e7946bab1b5b95a8fa6f /src/tools | |
| parent | 20c25e0f9b9a7ca5d1c3efa17ee6ce83c05051cc (diff) | |
Create SignalManager in the front end, not the tested part.
Otherwise the wrong SignalManager gets used for some tests (after an
encode_cli test) which causes problems.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 178cd9123..27934e664 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -26,6 +26,7 @@ #include "lib/cross.h" #include "lib/encode_cli.h" +#include "lib/signal_manager.h" #include "lib/util.h" #include <iostream> @@ -38,6 +39,8 @@ main(int argc, char* argv[]) dcpomatic_setup_path_encoding(); dcpomatic_setup(); + signal_manager = new SignalManager(); + auto error = encode_cli(fixer.argc(), fixer.argv(), [](std::string s) { std::cout << s; }, []() { std::cout.flush(); }); if (error) { std::cerr << *error << "\n"; |
