configurable export preroll
This commit is contained in:
@@ -271,3 +271,5 @@ CONFIG_VARIABLE (std::string, video_server_docroot, "video-server-docroot", "C:\
|
||||
#endif
|
||||
CONFIG_VARIABLE (bool, show_video_export_info, "show-video-export-info", true)
|
||||
CONFIG_VARIABLE (bool, show_video_server_dialog, "show-video-server-dialog", false)
|
||||
|
||||
CONFIG_VARIABLE (float, export_preroll, "export-preroll", 10.0) // seconds
|
||||
|
||||
@@ -110,7 +110,7 @@ Session::start_audio_export (framepos_t position)
|
||||
pre_export ();
|
||||
}
|
||||
|
||||
_export_preroll = 10.0 * nominal_frame_rate (); // TODO make configurable
|
||||
_export_preroll = Config->get_export_preroll() * nominal_frame_rate ();
|
||||
|
||||
/* We're about to call Track::seek, so the butler must have finished everything
|
||||
up otherwise it could be doing do_refill in its thread while we are doing
|
||||
|
||||
Reference in New Issue
Block a user