diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-07 21:39:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-07 23:51:01 +0100 |
commit | df8097e31eaba924a75c8293575868c73fe7eec7 (patch) | |
tree | 453858fd178240b8a1279ad02b0ccdbe46e4b4a4 /libs/ardour/export_graph_builder.cc | |
parent | 7ed27e3ef7057e1d11d7b7643363a5c38d7e41e1 (diff) |
Fix mp3 export
For reasons yet to be investigated, closing stderr when using a
pipe into ffmpeg results in ffmpeg's stderr being written
verbatim in the output file.
Diffstat (limited to 'libs/ardour/export_graph_builder.cc')
-rw-r--r-- | libs/ardour/export_graph_builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_graph_builder.cc b/libs/ardour/export_graph_builder.cc index 5afb5c1e7d..d9e2a60cfb 100644 --- a/libs/ardour/export_graph_builder.cc +++ b/libs/ardour/export_graph_builder.cc @@ -383,7 +383,7 @@ ExportGraphBuilder::Encoder::init_writer (boost::shared_ptr<AudioGrapher::CmdPip * SystemExec is deleted when writer is destroyed */ ARDOUR::SystemExec* exec = new ARDOUR::SystemExec (ffmpeg_exe, argp); PBD::info << "Encode command: { " << exec->to_s () << "}" << endmsg; - if (exec->start ()) { + if (exec->start (SystemExec::MergeWithStdin)) { throw ExportFailed ("External encoder (ffmpeg) cannot be started."); } writer.reset (new AudioGrapher::CmdPipeWriter<T> (exec, writer_filename)); |