X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fdcpinfo.cc;h=bd74387b35f1272a72aad745243591bb1f448bc4;hb=2ae92dcc97765deb2845dd07a338858aeb375cb3;hp=32920be24f566bfaf98c264fc7d4b5a794e6c05d;hpb=42a65cba0d8da23c12af52015e66cd9dc0b5a5fa;p=libdcp.git diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index 32920be2..bd74387b 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -82,7 +82,7 @@ main_subtitle (shared_ptr reel, bool list_subtitles) if (!reel->main_subtitle()) { return; } - + list subs = reel->main_subtitle()->subtitle_asset()->subtitles (); cout << " Subtitle: " << subs.size() << " subtitles"; shared_ptr iop = dynamic_pointer_cast (reel->main_subtitle()->subtitle_asset()); @@ -106,7 +106,7 @@ main (int argc, char* argv[]) bool subtitles = false; bool keep_going = false; bool ignore_missing_assets = false; - + int option_index = 0; while (1) { static struct option long_options[] = { @@ -165,7 +165,7 @@ main (int argc, char* argv[]) cerr << "Could not read DCP " << argv[optind] << "; " << e.what() << "\n"; exit (EXIT_FAILURE); } - + cout << "DCP: " << boost::filesystem::path(argv[optind]).filename().string() << "\n"; dcp::filter_errors (errors, ignore_missing_assets); @@ -177,7 +177,7 @@ main (int argc, char* argv[]) for (list >::iterator i = cpls.begin(); i != cpls.end(); ++i) { cout << " CPL: " << (*i)->annotation_text() << "\n"; - + list > reels = (*i)->reels (); int R = 1;