diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-09 17:10:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-09 17:10:36 +0100 |
| commit | c1798d06bb87eddfb08945893b0b9166fd097f93 (patch) | |
| tree | 34eb38412f4e5c6b84f54fd3c8e5d6c286fef9ef /tools | |
| parent | 4f6142b7d4c6d4c9db3f54e4893bff1dc9c5085f (diff) | |
Test subtitle attributes too.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpinfo.cc | 13 |
1 files changed, 13 insertions, 0 deletions
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<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"; } } } |
