diff options
author | Carl Hetherington <carl@carlh.net> | 2009-05-16 01:53:43 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-05-16 01:53:43 +0000 |
commit | 86dda29be798073d3d8b08aa833b52773b41daad (patch) | |
tree | 695925e8f93738aa4823d4959f658011484a03a0 /gtk2_ardour/session_option_editor.cc | |
parent | 29e8fe16987548d44b6376a38c81da7737efde28 (diff) |
Move some sync-related options to being session variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@5083 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/session_option_editor.cc')
-rw-r--r-- | gtk2_ardour/session_option_editor.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc index 6c05794ed1..5aea3b5a7f 100644 --- a/gtk2_ardour/session_option_editor.cc +++ b/gtk2_ardour/session_option_editor.cc @@ -116,6 +116,25 @@ SessionOptionEditor::SessionOptionEditor (Session* s) mem_fun (*_session_config, &SessionConfiguration::get_timecode_source_is_synced), mem_fun (*_session_config, &SessionConfiguration::set_timecode_source_is_synced) )); + + ComboOption<float>* vpu = new ComboOption<float> ( + "video-pullup", + _("Pull-up / pull-down"), + mem_fun (*_session_config, &SessionConfiguration::get_video_pullup), + mem_fun (*_session_config, &SessionConfiguration::set_video_pullup) + ); + + vpu->add (4.1667 + 0.1, _("4.1667 + 0.1%")); + vpu->add (4.1667, _("4.1667")); + vpu->add (4.1667 - 0.1, _("4.1667 - 0.1%")); + vpu->add (0.1, _("0.1")); + vpu->add (0, _("none")); + vpu->add (-0.1, _("-0.1")); + vpu->add (-4.1667 + 0.1, _("-4.1667 + 0.1%")); + vpu->add (-4.1667, _("-4.1667")); + vpu->add (-4.1667 - 0.1, _("-4.1667 - 0.1%")); + + add_option (_("Sync"), vpu); /* MISC */ |