summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-05 15:08:50 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-06 20:15:49 +0200
commit5579acd7ff7e1460f0b5bb54a4deedbd356153cd (patch)
treee00ef2135b01dd0638526bde23dad5f28411cb0f /src/wx/kdm_output_panel.cc
parent0ab8cf5b312f36a14f66d4564c6f4b1694ddaae0 (diff)
Write 'f', 'b' and 'e' tags into all KDMWithMetadata when they are made.
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
-rw-r--r--src/wx/kdm_output_panel.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc
index 025707b28..0a70ff125 100644
--- a/src/wx/kdm_output_panel.cc
+++ b/src/wx/kdm_output_panel.cc
@@ -182,7 +182,7 @@ KDMOutputPanel::kdm_write_type_changed ()
pair<shared_ptr<Job>, int>
KDMOutputPanel::make (
- list<KDMWithMetadataPtr> kdms, string name, KDMTimingPanel* timing, function<bool (boost::filesystem::path)> confirm_overwrite
+ list<KDMWithMetadataPtr> kdms, string name, function<bool (boost::filesystem::path)> confirm_overwrite
)
{
list<list<KDMWithMetadataPtr> > const cinema_kdms = collect (kdms);
@@ -240,9 +240,6 @@ KDMOutputPanel::make (
try {
dcp::NameFormat::Map name_values;
- name_values['f'] = name;
- name_values['b'] = dcp::LocalTime(timing->from()).date() + " " + dcp::LocalTime(timing->from()).time_of_day(false, false);
- name_values['e'] = dcp::LocalTime(timing->until()).date() + " " + dcp::LocalTime(timing->until()).time_of_day(false, false);
if (_write_to->GetValue()) {
if (_write_flat->GetValue()) {