if (!reel->main_subtitle()) {
return;
}
-
+
list<SubtitleString> subs = reel->main_subtitle()->subtitle_asset()->subtitles ();
cout << " Subtitle: " << subs.size() << " subtitles";
shared_ptr<InteropSubtitleAsset> iop = dynamic_pointer_cast<InteropSubtitleAsset> (reel->main_subtitle()->subtitle_asset());
bool subtitles = false;
bool keep_going = false;
bool ignore_missing_assets = false;
-
+
int option_index = 0;
while (1) {
static struct option long_options[] = {
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);
for (list<shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) {
cout << " CPL: " << (*i)->annotation_text() << "\n";
-
+
list<shared_ptr<Reel> > reels = (*i)->reels ();
int R = 1;