summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-09-01 00:06:19 +0100
committerCarl Hetherington <cth@carlh.net>2014-09-01 00:06:19 +0100
commitcf8bbea2de38c4e9ac140f55b27311b7b6dcd814 (patch)
tree7786cf4672ce8c5134c5b9e53947609a1e1c9cc3 /src/wx
parent22b9f3b2090d8bdfe52cda1e69d3acbe874f1ce5 (diff)
parentbbb2a4b7ccec953900d13e7bcdad229028bc7795 (diff)
Merge master.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/about_dialog.cc1
-rw-r--r--src/wx/config_dialog.cc20
-rw-r--r--src/wx/po/de_DE.po3
-rw-r--r--src/wx/video_panel.cc25
4 files changed, 17 insertions, 32 deletions
diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc
index 349581972..b62683c8f 100644
--- a/src/wx/about_dialog.cc
+++ b/src/wx/about_dialog.cc
@@ -149,6 +149,7 @@ AboutDialog::AboutDialog (wxWindow* parent)
supported_by.Add (wxT ("Tim O'Brien"));
supported_by.Add (wxT ("Ivan Pullman"));
supported_by.Add (wxT ("Mark Rolfe"));
+ supported_by.Add (wxT ("David Rosenthal"));
supported_by.Add (wxT ("Andrä Steiner"));
supported_by.Add (wxT ("Jussi Siponen"));
supported_by.Add (wxT ("Lasse Salling"));
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index c1eee3c7b..009467afa 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -306,10 +306,6 @@ public:
_issuer = new wxTextCtrl (panel, wxID_ANY);
table->Add (_issuer, 1, wxEXPAND);
- add_label_to_sizer (table, panel, _("Default creator"), true);
- _creator = new wxTextCtrl (panel, wxID_ANY);
- table->Add (_creator, 1, wxEXPAND);
-
Config* config = Config::instance ();
_still_length->SetRange (1, 3600);
@@ -358,10 +354,8 @@ public:
_audio_delay->SetValue (config->default_audio_delay ());
_audio_delay->Bind (wxEVT_COMMAND_SPINCTRL_UPDATED, boost::bind (&DefaultsPage::audio_delay_changed, this));
- _issuer->SetValue (std_to_wx (config->dcp_metadata().issuer));
+ _issuer->SetValue (std_to_wx (config->dcp_issuer ()));
_issuer->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DefaultsPage::issuer_changed, this));
- _creator->SetValue (std_to_wx (config->dcp_metadata().creator));
- _creator->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DefaultsPage::creator_changed, this));
return panel;
}
@@ -415,16 +409,7 @@ private:
void issuer_changed ()
{
- dcp::XMLMetadata m = Config::instance()->dcp_metadata ();
- m.issuer = wx_to_std (_issuer->GetValue ());
- Config::instance()->set_dcp_metadata (m);
- }
-
- void creator_changed ()
- {
- dcp::XMLMetadata m = Config::instance()->dcp_metadata ();
- m.creator = wx_to_std (_creator->GetValue ());
- Config::instance()->set_dcp_metadata (m);
+ Config::instance()->set_dcp_issuer (wx_to_std (_issuer->GetValue ()));
}
wxSpinCtrl* _j2k_bandwidth;
@@ -440,7 +425,6 @@ private:
wxChoice* _container;
wxChoice* _dcp_content_type;
wxTextCtrl* _issuer;
- wxTextCtrl* _creator;
};
class EncodingServersPage : public wxPreferencesPage, public Page
diff --git a/src/wx/po/de_DE.po b/src/wx/po/de_DE.po
index b158d231f..4d57a34bc 100644
--- a/src/wx/po/de_DE.po
+++ b/src/wx/po/de_DE.po
@@ -170,9 +170,8 @@ msgstr ""
"weitergegeben."
#: src/wx/config_dialog.cc:701
-#, fuzzy
msgid "BCC address"
-msgstr "CC: Adresse"
+msgstr "BCC: Adresse"
#: src/wx/job_wrapper.cc:37
#, c-format
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index cd831baed..a5d197c2a 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -363,18 +363,19 @@ VideoPanel::edit_colour_conversion_clicked ()
void
VideoPanel::content_selection_changed ()
{
- VideoContentList sel = _parent->selected_video ();
- bool const single = sel.size() == 1;
-
- _left_crop->set_content (sel);
- _right_crop->set_content (sel);
- _top_crop->set_content (sel);
- _bottom_crop->set_content (sel);
- _frame_type->set_content (sel);
- _scale->set_content (sel);
-
- /* Things that are only allowed with single selections */
- _filters_button->Enable (single);
+ VideoContentList video_sel = _parent->selected_video ();
+ FFmpegContentList ffmpeg_sel = _parent->selected_ffmpeg ();
+
+ bool const single = video_sel.size() == 1;
+
+ _left_crop->set_content (video_sel);
+ _right_crop->set_content (video_sel);
+ _top_crop->set_content (video_sel);
+ _bottom_crop->set_content (video_sel);
+ _frame_type->set_content (video_sel);
+ _scale->set_content (video_sel);
+
+ _filters_button->Enable (single && !ffmpeg_sel.empty ());
_colour_conversion_button->Enable (single);
film_content_changed (VideoContentProperty::VIDEO_CROP);