summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/export_format_specification.h3
-rw-r--r--libs/ardour/export_format_manager.cc6
-rw-r--r--libs/ardour/export_format_specification.cc11
3 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index d41fe3e97a..26d28648a2 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -96,7 +96,6 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
void set_tag (bool tag_it) { _tag = tag_it; }
void set_with_cue (bool yn) { _with_cue = yn; }
void set_with_toc (bool yn) { _with_toc = yn; }
- void set_upload (bool yn) { _upload = yn; }
void set_command (std::string command) { _command = command; }
void set_silence_beginning (AnyTime const & value) { _silence_beginning = value; }
@@ -127,7 +126,6 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float normalize_target () const { return _normalize_target; }
bool with_toc() const { return _with_toc; }
bool with_cue() const { return _with_cue; }
- bool upload() const { return _upload; }
std::string command() const { return _command; }
bool tag () const { return _tag && supports_tagging; }
@@ -178,7 +176,6 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float _normalize_target;
bool _with_toc;
bool _with_cue;
- bool _upload;
std::string _command;
/* serialization helpers */
diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc
index 3ee940ffb6..04cfa76677 100644
--- a/libs/ardour/export_format_manager.cc
+++ b/libs/ardour/export_format_manager.cc
@@ -293,12 +293,6 @@ ExportFormatManager::select_with_toc (bool value)
check_for_description_change ();
}
-void
-ExportFormatManager::select_upload (bool value)
-{
- current_selection->set_upload (value);
- check_for_description_change ();
-}
void
ExportFormatManager::set_command (std::string command)
diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc
index 8b921519f7..5191146790 100644
--- a/libs/ardour/export_format_specification.cc
+++ b/libs/ardour/export_format_specification.cc
@@ -170,7 +170,6 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s)
, _normalize_target (1.0)
, _with_toc (false)
, _with_cue (false)
- , _upload (false)
, _command ("")
{
format_ids.insert (F_None);
@@ -246,7 +245,6 @@ ExportFormatSpecification::get_state ()
root->add_property ("id", _id.to_s());
root->add_property ("with-cue", _with_cue ? "true" : "false");
root->add_property ("with-toc", _with_toc ? "true" : "false");
- root->add_property ("upload", _upload ? "true" : "false");
root->add_property ("command", _command);
node = root->add_child ("Encoding");
@@ -325,11 +323,6 @@ ExportFormatSpecification::set_state (const XMLNode & root)
_with_toc = false;
}
- if ((prop = root.property ("upload"))) {
- _upload = string_is_affirmative (prop->value());
- } else {
- _upload = false;
- }
if ((prop = root.property ("command"))) {
_command = prop->value();
@@ -606,10 +599,6 @@ ExportFormatSpecification::description (bool include_name)
components.push_back ("CUE");
}
- if (_upload) {
- components.push_back ("Upload");
- }
-
if (!_command.empty()) {
components.push_back ("+");
}