- 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 (_("Timecode"), vpu);
-
- ClockOption* co = new ClockOption (
- "timecode-offset",
- _("Timecode Offset"),
- sigc::mem_fun (*_session_config, &SessionConfiguration::get_timecode_offset),
- sigc::mem_fun (*_session_config, &SessionConfiguration::set_timecode_offset)
+ _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 (_("Timecode"), _vpu);
+
+ add_option (_("Sync"), new BoolOption (
+ "use-video-file-fps",
+ _("Use Video File's FPS Instead of Timecode Value for Timeline and Video Monitor."),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::get_use_video_file_fps),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::set_use_video_file_fps)
+ ));
+
+ add_option (_("Sync"), new BoolOption (
+ "videotimeline-pullup",
+ _("Apply Pull-Up/Down to Video Timeline and Video Monitor (Unless using JACK-sync)."),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::get_videotimeline_pullup),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::set_videotimeline_pullup)
+ ));
+
+ add_option (_("Timecode"), new OptionEditorHeading (_("Ext Timecode Offsets")));
+
+ ClockOption* sco = new ClockOption (
+ "slave-timecode-offset",
+ _("Slave Timecode offset"),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::get_slave_timecode_offset),
+ sigc::mem_fun (*_session_config, &SessionConfiguration::set_slave_timecode_offset)