summaryrefslogtreecommitdiff
path: root/src/lib/cross.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-06-09 23:43:58 +0100
committerCarl Hetherington <cth@carlh.net>2018-06-09 23:43:58 +0100
commit4513308f3c08579d53a0eee91b470dca3a28cbc2 (patch)
tree71708f4825f779e092e2868469901347a21f76fc /src/lib/cross.cc
parent85fedd82ef6f1b2330534ce91ca64c46910e8e57 (diff)
Add option to open a DCP in the player (#1312).
Diffstat (limited to 'src/lib/cross.cc')
-rw-r--r--src/lib/cross.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 4991d9ae3..75205dc1a 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -414,6 +414,12 @@ start_batch_converter (boost::filesystem::path dcpomatic)
start_tool (dcpomatic, "dcpomatic2_batch", "DCP-o-matic\\ 2\\ Batch\\ Converter.app");
}
+void
+start_player (boost::filesystem::path dcpomatic)
+{
+ start_tool (dcpomatic, "dcpomatic2_player", "DCP-o-matic\\ 2\\ Player.app");
+}
+
uint64_t
thread_id ()
{