mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Ignore LD-environment for video transcoding and Lua exec
This commit is contained in:
parent
8c7157df6c
commit
f74b8227c5
5 changed files with 10 additions and 10 deletions
|
|
@ -88,7 +88,7 @@ TranscodeFfmpeg::probe ()
|
|||
argp[4] = strdup ("-show_streams");
|
||||
argp[5] = strdup (infile.c_str ());
|
||||
argp[6] = 0;
|
||||
ffcmd = new ARDOUR::SystemExec (ffprobe_exe, argp);
|
||||
ffcmd = new ARDOUR::SystemExec (ffprobe_exe, argp, true);
|
||||
ffcmd->ReadStdout.connect_same_thread (*this, boost::bind (&TranscodeFfmpeg::ffprobeparse, this, _1, _2));
|
||||
ffcmd->Terminated.connect (*this, invalidator (*this), boost::bind (&TranscodeFfmpeg::ffexit, this), gui_context ());
|
||||
if (ffcmd->start (SystemExec::IgnoreAndClose)) {
|
||||
|
|
@ -401,7 +401,7 @@ TranscodeFfmpeg::encode (std::string outfile, std::string inf_a, std::string inf
|
|||
printf ("\n");
|
||||
}
|
||||
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp);
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp, true);
|
||||
ffcmd->ReadStdout.connect_same_thread (*this, boost::bind (&TranscodeFfmpeg::ffmpegparse_v, this, _1, _2));
|
||||
ffcmd->Terminated.connect (*this, invalidator (*this), boost::bind (&TranscodeFfmpeg::ffexit, this), gui_context ());
|
||||
|
||||
|
|
@ -452,7 +452,7 @@ TranscodeFfmpeg::extract_audio (std::string outfile, ARDOUR::samplecnt_t /*sampl
|
|||
printf ("\n");
|
||||
}
|
||||
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp);
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp, true);
|
||||
ffcmd->ReadStdout.connect_same_thread (*this, boost::bind (&TranscodeFfmpeg::ffmpegparse_a, this, _1, _2));
|
||||
ffcmd->Terminated.connect (*this, invalidator (*this), boost::bind (&TranscodeFfmpeg::ffexit, this), gui_context ());
|
||||
|
||||
|
|
@ -524,7 +524,7 @@ TranscodeFfmpeg::transcode (std::string outfile, const int outw, const int outh,
|
|||
printf ("\n");
|
||||
}
|
||||
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp);
|
||||
ffcmd = new ARDOUR::SystemExec (ffmpeg_exe, argp, true);
|
||||
ffcmd->ReadStdout.connect_same_thread (*this, boost::bind (&TranscodeFfmpeg::ffmpegparse_v, this, _1, _2));
|
||||
ffcmd->Terminated.connect (*this, invalidator (*this), boost::bind (&TranscodeFfmpeg::ffexit, this), gui_context ());
|
||||
if (ffcmd->start (SystemExec::MergeWithStdin)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue