#include <sigc++/bind.h>
+#include <gtkmm/filechooserdialog.h>
+#include <gtkmm/stock.h>
+
#include "pbd/gstdio_compat.h"
#include "pbd/error.h"
get_vbox()->pack_start (*vbox, false, false);
progress_box = manage (new VBox);
+ progress_box->set_spacing(6);
progress_box->pack_start (progress_label, false, false);
progress_box->pack_start (pbar, false, false);
progress_box->pack_start (abort_button, false, false);
}
void
-TranscodeVideoDialog::update_progress (framecnt_t c, framecnt_t a)
+TranscodeVideoDialog::update_progress (samplecnt_t c, samplecnt_t a)
{
if (a == 0 || c > a) {
pbar.set_pulse_step(.5);
audio_stream = audio_combo.get_active_row_number() -1;
progress_label.set_text (_("Extracting Audio.."));
- if (!transcoder->extract_audio(audiofile, _session->nominal_frame_rate(), audio_stream)) {
+ if (!transcoder->extract_audio(audiofile, _session->nominal_sample_rate(), audio_stream)) {
ARDOUR_UI::instance()->popup_error(_("Audio Extraction Failed."));
audiofile="";
Gtk::Dialog::response(RESPONSE_CANCEL);