summaryrefslogtreecommitdiff
path: root/src/wx/isdcf_metadata_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-02 20:55:40 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-04 20:48:34 +0200
commit0d9831021c7dc508bc69f7bd759dacd50ccb2766 (patch)
tree602bd4d88dfac90177cc187d12baebeb713f80e2 /src/wx/isdcf_metadata_dialog.cc
parent8e1b0dfe3103867a749ff51156e3ed6547f298a0 (diff)
Use content version from Interop (or version number from SMPTE metadata)
rather than the content version in the ISDCF metadata dialogue.
Diffstat (limited to 'src/wx/isdcf_metadata_dialog.cc')
-rw-r--r--src/wx/isdcf_metadata_dialog.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wx/isdcf_metadata_dialog.cc b/src/wx/isdcf_metadata_dialog.cc
index 2fde930c6..d204258dd 100644
--- a/src/wx/isdcf_metadata_dialog.cc
+++ b/src/wx/isdcf_metadata_dialog.cc
@@ -35,9 +35,6 @@ using std::shared_ptr;
ISDCFMetadataDialog::ISDCFMetadataDialog (wxWindow* parent, ISDCFMetadata dm, bool threed)
: TableDialog (parent, _("ISDCF name"), 2, 1, true)
{
- add (_("Content version"), true);
- _content_version = add (new wxSpinCtrl (this, wxID_ANY));
-
add (_("Territory (e.g. UK)"), true);
_territory = add (new wxTextCtrl (this, wxID_ANY));
@@ -72,9 +69,6 @@ ISDCFMetadataDialog::ISDCFMetadataDialog (wxWindow* parent, ISDCFMetadata dm, bo
add (_("Mastered luminance (e.g. 14fl)"), true);
_mastered_luminance = add (new wxTextCtrl (this, wxID_ANY));
- _content_version->SetRange (1, 1024);
-
- _content_version->SetValue (dm.content_version);
_territory->SetValue (std_to_wx (dm.territory));
_rating->SetValue (std_to_wx (dm.rating));
_studio->SetValue (std_to_wx (dm.studio));
@@ -87,8 +81,6 @@ ISDCFMetadataDialog::ISDCFMetadataDialog (wxWindow* parent, ISDCFMetadata dm, bo
_mastered_luminance->SetValue (std_to_wx (dm.mastered_luminance));
layout ();
-
- _content_version->SetFocus ();
}
@@ -97,7 +89,6 @@ ISDCFMetadataDialog::isdcf_metadata () const
{
ISDCFMetadata dm;
- dm.content_version = _content_version->GetValue ();
dm.territory = wx_to_std (_territory->GetValue ());
dm.rating = wx_to_std (_rating->GetValue ());
dm.studio = wx_to_std (_studio->GetValue ());