X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_cli.cc;h=f885412efaf9d1ae0ebd7febd5cb7db5d3175d3e;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=54e196fe0acb4d5e6a0b9ab343ef46c63ad91bb2;hpb=010a8b2700389b10c7567963edcf7a02a1920e15;p=dcpomatic.git diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 54e196fe0..f885412ef 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -100,7 +100,7 @@ print_dump (shared_ptr film) } else { cout << "\tno colour conversion\n"; } - + } shared_ptr audio = dynamic_pointer_cast (c); @@ -176,10 +176,10 @@ main (int argc, char* argv[]) } film_dir = argv[optind]; - + dcpomatic_setup (); signal_manager = new SignalManager (); - + if (no_remote) { ServerFinder::instance()->disable (); } @@ -201,7 +201,7 @@ main (int argc, char* argv[]) print_dump (film); exit (EXIT_SUCCESS); } - + ContentList content = film->content (); for (ContentList::const_iterator i = content.begin(); i != content.end(); ++i) { vector paths = (*i)->paths (); @@ -241,7 +241,7 @@ main (int argc, char* argv[]) for (list >::iterator i = jobs.begin(); i != jobs.end(); ++i) { if (progress) { cout << (*i)->name() << ": "; - + if ((*i)->progress ()) { cout << (*i)->status() << " \n"; } else { @@ -283,8 +283,8 @@ main (int argc, char* argv[]) JobManager::drop (); ServerFinder::drop (); - + return error ? EXIT_FAILURE : EXIT_SUCCESS; } - +