#include "picture_asset.h"
#include "subtitle_asset.h"
-using namespace std;
-using namespace boost;
+using std::string;
+using std::cerr;
+using std::cout;
+using std::list;
+using boost::shared_ptr;
using namespace libdcp;
static void
exit (EXIT_FAILURE);
}
- if (!filesystem::exists (argv[optind])) {
+ if (!boost::filesystem::exists (argv[optind])) {
cerr << argv[0] << ": DCP " << argv[optind] << " not found.\n";
exit (EXIT_FAILURE);
}
if (subtitles) {
for (list<shared_ptr<Subtitle> >::const_iterator k = subs.begin(); k != subs.end(); ++k) {
cout << " " << (*k)->text() << "\n";
+ cout << " "
+ << "font:" << (*k)->font() << "; "
+ << "italic:" << (*k)->italic() << "; "
+ << "color:" << (*k)->color() << "; "
+ << "in:" << (*k)->in() << "; "
+ << "out:" << (*k)->out() << "; "
+ << "v_position:" << (*k)->v_position() << "; "
+ << "v_align:" << (*k)->v_align() << "; "
+ << "effect:" << (*k)->effect() << "; "
+ << "effect_color:" << (*k)->effect_color() << "; "
+ << "fade_up_time:" << (*k)->fade_up_time() << "; "
+ << "fade_down_time:" << (*k)->fade_down_time() << "; "
+ << "size: " << (*k)->size() << "\n";
}
}
}