Skip to content

Commit

Permalink
fix: use proper label in FFmpeg logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Feb 3, 2024
1 parent 8497191 commit c1cf658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/src/ffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ bool FFmpeg::execute(const QStringList &params, int msecs)
// Print stdout and stderr to the log
const QString standardOutput = QString::fromLocal8Bit(process.readAllStandardOutput()).trimmed();
if (!standardOutput.isEmpty()) {
log(QString("[Exiftool] %1").arg(standardOutput), Logger::Debug);
log(QString("[FFmpeg] %1").arg(standardOutput), Logger::Debug);
}
const QString standardError = QString::fromLocal8Bit(process.readAllStandardError()).trimmed();
if (!standardError.isEmpty()) {
log(QString("[Exiftool] %1").arg(standardError), Logger::Error);
log(QString("[FFmpeg] %1").arg(standardError), Logger::Error);
}

return ok;
Expand Down

0 comments on commit c1cf658

Please # to comment.