diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-16 17:02:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-16 17:02:45 +0000 |
| commit | 7a8bf6efd00161b1ce7bb160bd50a0c11c28d792 (patch) | |
| tree | 1f53d16ca14837a1fc08f153676f5c3182ba6651 /tools | |
| parent | bec7cbcc015814452690a0f702cc41b6f5f56311 (diff) | |
Tidy API; subtitle_asset() -> asset()>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpinfo.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index bd74387b..e15c164b 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -83,13 +83,13 @@ main_subtitle (shared_ptr<Reel> reel, bool list_subtitles) return; } - list<SubtitleString> subs = reel->main_subtitle()->subtitle_asset()->subtitles (); + list<SubtitleString> subs = reel->main_subtitle()->asset()->subtitles (); cout << " Subtitle: " << subs.size() << " subtitles"; - shared_ptr<InteropSubtitleAsset> iop = dynamic_pointer_cast<InteropSubtitleAsset> (reel->main_subtitle()->subtitle_asset()); + shared_ptr<InteropSubtitleAsset> iop = dynamic_pointer_cast<InteropSubtitleAsset> (reel->main_subtitle()->asset()); if (iop) { cout << " in " << iop->language() << "\n"; } - shared_ptr<SMPTESubtitleAsset> smpte = dynamic_pointer_cast<SMPTESubtitleAsset> (reel->main_subtitle()->subtitle_asset()); + shared_ptr<SMPTESubtitleAsset> smpte = dynamic_pointer_cast<SMPTESubtitleAsset> (reel->main_subtitle()->asset()); if (smpte && smpte->language ()) { cout << " in " << smpte->language().get() << "\n"; } |
