From c1798d06bb87eddfb08945893b0b9166fd097f93 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 9 Sep 2012 17:10:36 +0100 Subject: Test subtitle attributes too. --- tools/dcpinfo.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tools') diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index cdbb8688..4f149f37 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -99,6 +99,19 @@ main (int argc, char* argv[]) if (subtitles) { for (list >::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"; } } } -- cgit v1.2.3