diff options
author | Robin Gareus <robin@gareus.org> | 2013-03-29 12:20:09 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-03-29 12:36:14 +0100 |
commit | daec8e44d52116d8841cf08954b930142c8dc495 (patch) | |
tree | a423c66a1f8667ca69d6fffc01fda27dff800c85 /gtk2_ardour/add_video_dialog.cc | |
parent | 47ee22d91dbfa35b45c7cef8b825b4a7685c71c8 (diff) |
vtl: rework import workflow
- do not allow to simply copy the video file
- decision to transcode or just reference is made in "transcode dialog"
not during file-selection.
Only there the actual codec is known and can be judged to be suitable
for direct reference
- simplify "transcode dialog" - no more buttons for specific actions,
drop-down select actions.
- increase minimum bitrate for imported file to 500kbit/s
Diffstat (limited to 'gtk2_ardour/add_video_dialog.cc')
-rw-r--r-- | gtk2_ardour/add_video_dialog.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk2_ardour/add_video_dialog.cc b/gtk2_ardour/add_video_dialog.cc index 7050c8412a..7e3c3e853c 100644 --- a/gtk2_ardour/add_video_dialog.cc +++ b/gtk2_ardour/add_video_dialog.cc @@ -136,16 +136,8 @@ AddVideoDialog::AddVideoDialog (Session* s) chooser.add_filter (matchall_filter); chooser.set_select_multiple (false); - /* file import options */ - import_combo.set_name ("PaddedButton"); - import_combo.append_text(_("Reference From Current Location")); - import_combo.append_text(_("Hardlink or Copy to Session")); - import_combo.append_text(_("Transcode to Session")); - import_combo.set_active(2); - VBox* vboxfb = manage (new VBox); vboxfb->pack_start (chooser, true, true, 0); - vboxfb->pack_start (import_combo, false, true, 4); if (video_get_docroot(Config).size() > 0 && Config->get_video_advanced_setup()) { @@ -336,8 +328,7 @@ AddVideoDialog::import_option () { int n = notebook.get_current_page (); if (n == 0 && Config->get_video_advanced_setup()) { return VTL_IMPORT_NONE; } - int i = import_combo.get_active_row_number(); - return static_cast<VtlImportOption>(i); + return VTL_IMPORT_TRANSCODE; } bool |