diff options
author | Robin Gareus <robin@gareus.org> | 2013-03-28 13:41:36 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-03-28 13:42:51 +0100 |
commit | a1429ed39f142ccf8cde558891cbe59ca97a9922 (patch) | |
tree | 12489269635ea4a6f17e4061e86ef8c709e152d3 /gtk2_ardour/transcode_video_dialog.cc | |
parent | e18b95b4f4c7a92be3146837835ecf0f8f3c9ba8 (diff) |
vtl: simple/localhost mode.
Hide most of the setup complexity that is irrelevant when
running the video-server on the same host as Ardour.
Add an abstraction layer to the config which will become
important later when /building in/ the video-server.
Diffstat (limited to 'gtk2_ardour/transcode_video_dialog.cc')
-rw-r--r-- | gtk2_ardour/transcode_video_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/transcode_video_dialog.cc b/gtk2_ardour/transcode_video_dialog.cc index 00e7d2ec5c..bb9f185750 100644 --- a/gtk2_ardour/transcode_video_dialog.cc +++ b/gtk2_ardour/transcode_video_dialog.cc @@ -105,7 +105,7 @@ TranscodeVideoDialog::TranscodeVideoDialog (Session* s, std::string infile) height_spinner.set_sensitive(false); bitrate_spinner.set_sensitive(false); - std::string dstdir = video_dest_dir(_session->session_directory().video_path(), Config->get_video_server_docroot()); + std::string dstdir = video_dest_dir(_session->session_directory().video_path(), video_get_docroot(Config)); std::string dstfn = video_dest_file(dstdir, infile); path_entry.set_text (dstfn); @@ -402,7 +402,7 @@ void TranscodeVideoDialog::launch_transcode () { std::string outfn = path_entry.get_text(); - if (!confirm_video_outfn(outfn, Config->get_video_server_docroot())) return; + if (!confirm_video_outfn(outfn, video_get_docroot(Config))) return; progress_label.set_text (_("Transcoding Video..")); dialog_progress_mode(); #if 1 /* tentative debug mode */ |