11diff --git a/src/docks/encodedock.cpp b/src/docks/encodedock.cpp
2- index 3359f676..24e44f98 100644
2+ index bba23d7..2d74f8c 100755
33--- a/src/docks/encodedock.cpp
44+++ b/src/docks/encodedock.cpp
5- @@ -2177 ,7 +2177 ,7 @@ bool EncodeDock::detectHardwareEncoders()
5+ @@ -2570 ,7 +2570 ,7 @@ bool EncodeDock::detectHardwareEncoders()
66 {
77 MAIN.showStatusMessage(tr("Detecting hardware encoders..."));
88 QStringList hwlist;
99- QFileInfo ffmpegPath(qApp->applicationDirPath(), "ffmpeg");
1010+ QFileInfo ffmpegPath("@ffmpeg@/bin/ffmpeg");
11- foreach (const QString &codec, codecs()) {
11+ for (const QString &codec : codecs()) {
1212 LOG_INFO() << "checking for" << codec;
1313 QProcess proc;
14- @@ -2220 ,7 +2220 ,7 @@ bool EncodeDock::detectHardwareEncoders()
14+ @@ -2617 ,7 +2617 ,7 @@ bool EncodeDock::detectHardwareEncoders()
1515 QString &EncodeDock::defaultFormatExtension()
1616 {
1717 auto format = ui->formatCombo->currentText();
@@ -21,10 +21,10 @@ index 3359f676..24e44f98 100644
2121 QStringList args;
2222 args << "-hide_banner" << "-h" << format.prepend("muxer=");
2323diff --git a/src/jobs/ffmpegjob.cpp b/src/jobs/ffmpegjob.cpp
24- index 1f15e647..b6ad6633 100644
24+ index fe390d3..39b847a 100644
2525--- a/src/jobs/ffmpegjob.cpp
2626+++ b/src/jobs/ffmpegjob.cpp
27- @@ -54 ,7 +54 ,7 @@ FfmpegJob::~FfmpegJob()
27+ @@ -55 ,7 +55 ,7 @@ FfmpegJob::~FfmpegJob()
2828 void FfmpegJob::start()
2929 {
3030 QString shotcutPath = qApp->applicationDirPath();
@@ -34,10 +34,10 @@ index 1f15e647..b6ad6633 100644
3434 LOG_DEBUG() << ffmpegPath.absoluteFilePath() + " " + m_args.join(' ');
3535 AbstractJob::start(ffmpegPath.absoluteFilePath(), m_args);
3636diff --git a/src/jobs/meltjob.cpp b/src/jobs/meltjob.cpp
37- index fd8c00b8..9150fe7b 100644
37+ index 019f693..15b8969 100644
3838--- a/src/jobs/meltjob.cpp
3939+++ b/src/jobs/meltjob.cpp
40- @@ -98 ,9 +98 ,9 @@ void MeltJob::start()
40+ @@ -115 ,9 +115 ,9 @@ void MeltJob::start()
4141 }
4242 QString shotcutPath = qApp->applicationDirPath();
4343 #if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
@@ -50,10 +50,10 @@ index fd8c00b8..9150fe7b 100644
5050 setReadChannel(QProcess::StandardError);
5151 QStringList args;
5252diff --git a/src/mltcontroller.cpp b/src/mltcontroller.cpp
53- index 1e2299ac..b8f39f12 100644
53+ index 3d3b070..f57cfd1 100644
5454--- a/src/mltcontroller.cpp
5555+++ b/src/mltcontroller.cpp
56- @@ -1555 ,9 +1555 ,9 @@ int Controller::checkFile(const QString &path)
56+ @@ -1668 ,9 +1668 ,9 @@ int Controller::checkFile(const QString &path)
5757 || path.endsWith(".aep")) {
5858 QString shotcutPath = qApp->applicationDirPath();
5959 #if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
@@ -66,7 +66,7 @@ index 1e2299ac..b8f39f12 100644
6666 QStringList args;
6767 args << "-quiet" << "-consumer" << "null" << "real_time=0" << "out=0" << "terminate_on_pause=1" <<
6868diff --git a/src/widgets/directshowvideowidget.cpp b/src/widgets/directshowvideowidget.cpp
69- index c91ba821..73dd5a61 100644
69+ index a636a22..7a7b068 100644
7070--- a/src/widgets/directshowvideowidget.cpp
7171+++ b/src/widgets/directshowvideowidget.cpp
7272@@ -35,7 +35,7 @@ DirectShowVideoWidget::DirectShowVideoWidget(QWidget *parent) :
0 commit comments