summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-22 22:33:45 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-22 22:33:45 +0000
commit4707ffd992e01a42e978b90b2cdcfc50d36e1513 (patch)
tree6b45dbad0fb4d19291e2f7372e6abb234e194a38 /src/subtitle_asset.cc
parentb511420d55c99fb72cf1ca5cd7dedf53010e8941 (diff)
Fix up constructor.
Diffstat (limited to 'src/subtitle_asset.cc')
-rw-r--r--src/subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc
index 25eebf95..6141b2c5 100644
--- a/src/subtitle_asset.cc
+++ b/src/subtitle_asset.cc
@@ -34,7 +34,7 @@ using namespace libdcp;
SubtitleAsset::SubtitleAsset (string directory, string xml_file)
: Asset (directory, xml_file)
{
- read_xml (xml_file);
+ read_xml (path().string());
}
SubtitleAsset::SubtitleAsset (string directory, string movie_title, string language)