From b19987ae5342602977b265ba9167ec09e433367c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 May 2017 23:08:34 +0100 Subject: Some export tidying up. --- src/tools/dcpomatic.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index ccaa44edb..c19336631 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -707,8 +707,7 @@ private: ExportDialog* d = new ExportDialog (this); if (d->ShowModal() == wxID_OK) { shared_ptr job (new TranscodeJob (_film)); - shared_ptr tx (new FFmpegTranscoder (_film, job)); - tx->set_output (d->path ()); + shared_ptr tx (new FFmpegTranscoder (_film, job, d->path(), d->format())); job->set_transcoder (tx); JobManager::instance()->add (job); } -- cgit v1.2.3