summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-09 22:35:44 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-09 22:35:44 +0000
commit964d6abe033e9df9c4faf30d06309dab064e28ad (patch)
tree7b2aebde962639f8647db661c18c43953949e17d /src
parent76a021504341460376d05c0d68b1bf6287f42a04 (diff)
Possibly fix weird relative filename problems on Windows.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index e3feacb54..2911be0a7 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -214,7 +214,7 @@ main (int argc, char* argv[])
film->set_signed (sign);
for (int i = optind; i < argc; ++i) {
- shared_ptr<Content> c = content_factory (film, argv[i]);
+ shared_ptr<Content> c = content_factory (film, boost::filesystem::canonical (argv[i]));
shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> (c);
if (vc) {
vc->set_scale (VideoContentScale (content_ratio));