diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-02 00:17:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-02 00:17:24 +0100 |
| commit | bd491319f52ba7f37ef5763960b4c0c00434b5f9 (patch) | |
| tree | c8578912077611e7fcbd5ba804abea97adce7b32 /test/rewrite_subs.cc | |
| parent | d87f979ea98a19614f164a0d49fccc1be926e789 (diff) | |
Tweaks: don't use shared_ptr for dcp::SubtitleString; SubtitleContent::write_xml takes a path.
Diffstat (limited to 'test/rewrite_subs.cc')
| -rw-r--r-- | test/rewrite_subs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc index 553c6291..1a3cfbff 100644 --- a/test/rewrite_subs.cc +++ b/test/rewrite_subs.cc @@ -51,7 +51,7 @@ main (int argc, char* argv[]) for (list<shared_ptr<Reel> >::iterator j = reels.begin(); j != reels.end(); ++j) { if ((*j)->main_subtitle()) { - (*j)->main_subtitle()->subtitle_content()->write_xml (); + (*j)->main_subtitle()->subtitle_content()->write_xml ((*j)->main_subtitle()->subtitle_content()->file ()); } } } |
