diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-18 17:31:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-18 17:37:13 +0200 |
commit | 8c944c08eacf8372fc714c9c00257ec13a263ae8 (patch) | |
tree | 12a63721f31c54985a329037bf62359ad3432c2e /gtk2_ardour | |
parent | b64dcac17ec6ab503198d933ef893760fb02ae22 (diff) |
Normalize API rename part 2
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/export_dialog.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/export_video_dialog.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 2922edf117..6b9d74e7bf 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -406,12 +406,12 @@ ExportDialog::progress_timeout () case ExportStatus::Normalizing: status_text = string_compose (_("Normalizing '%3' (timespan %1 of %2)"), status->timespan, status->total_timespans, status->timespan_name); - progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles; + progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles; break; case ExportStatus::Encoding: status_text = string_compose (_("Encoding '%3' (timespan %1 of %2)"), status->timespan, status->total_timespans, status->timespan_name); - progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles; + progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles; break; case ExportStatus::Tagging: status_text = string_compose (_("Tagging '%3' (timespan %1 of %2)"), diff --git a/gtk2_ardour/export_video_dialog.cc b/gtk2_ardour/export_video_dialog.cc index c1589909b2..fba09e9270 100644 --- a/gtk2_ardour/export_video_dialog.cc +++ b/gtk2_ardour/export_video_dialog.cc @@ -559,7 +559,7 @@ ExportVideoDialog::audio_progress_display () switch (status->active_job) { case ExportStatus::Normalizing: pbar.set_text (_("Normalizing audio")); - progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles; + progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles; progress = progress / (_twopass ? 4.0 : 3.0) + (_twopass ? .25 : 1.0 / 3.0); break; case ExportStatus::Exporting: |