Prevent endless read of silent files
[ardour.git] / gtk2_ardour / export_dialog.cc
index 9ba65a6646339637efd2a9745719674e58e48791..6b7f13dba6d5d3c5fe44a44a5003edf749e1e2a9 100644 (file)
@@ -402,7 +402,7 @@ ExportDialog::progress_timeout ()
        case ExportStatus::Exporting:
                status_text = string_compose (_("Exporting '%3' (timespan %1 of %2)"),
                                              status->timespan, status->total_timespans, status->timespan_name);
-               progress = ((float) status->processed_frames_current_timespan) / status->total_frames_current_timespan;
+               progress = ((float) status->processed_samples_current_timespan) / status->total_samples_current_timespan;
                break;
        case ExportStatus::Normalizing:
                status_text = string_compose (_("Normalizing '%3' (timespan %1 of %2)"),