From 964d6abe033e9df9c4faf30d06309dab064e28ad Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 9 Jan 2016 22:35:44 +0000 Subject: Possibly fix weird relative filename problems on Windows. --- src/tools/dcpomatic_create.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 c = content_factory (film, argv[i]); + shared_ptr c = content_factory (film, boost::filesystem::canonical (argv[i])); shared_ptr vc = dynamic_pointer_cast (c); if (vc) { vc->set_scale (VideoContentScale (content_ratio)); -- cgit v1.2.3