diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index d656a674e..792835af4 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -80,7 +80,7 @@ add_library(libolive-editor # Remove prefix - prevents CMake calling it "liblibolive-editor" set_target_properties(libolive-editor PROPERTIES PREFIX "") -# Add applicaton +# Add application add_executable(olive-editor main.cpp $ diff --git a/app/audio/audiomanager.cpp b/app/audio/audiomanager.cpp index 6a2bee79c..0b4f2fa57 100644 --- a/app/audio/audiomanager.cpp +++ b/app/audio/audiomanager.cpp @@ -102,7 +102,7 @@ void AudioManager::StartOutput(AudioPlaybackCache *cache, qint64 offset, int pla // Move to output manager's thread device->moveToThread(&output_thread_); - // Queue to output manger in other thread + // Queue to output manager in other thread QMetaObject::invokeMethod(output_manager_, "PullFromDevice", Qt::QueuedConnection, diff --git a/app/audio/audiovisualwaveform.cpp b/app/audio/audiovisualwaveform.cpp index 24a735fc5..2127aaaf6 100644 --- a/app/audio/audiovisualwaveform.cpp +++ b/app/audio/audiovisualwaveform.cpp @@ -235,7 +235,7 @@ void AudioVisualWaveform::Shift(const rational &from, const rational &to) AudioVisualWaveform::Sample AudioVisualWaveform::GetSummaryFromTime(const rational &start, const rational &length) const { - // Find mipmap that requries + // Find mipmap that requires auto using_mipmap = GetMipmapForScale(length.flipped().toDouble()); double rate_dbl = using_mipmap->first.toDouble(); diff --git a/app/common/commandlineparser.h b/app/common/commandlineparser.h index 51ed706f0..7d131f357 100644 --- a/app/common/commandlineparser.h +++ b/app/common/commandlineparser.h @@ -29,7 +29,7 @@ /** * @brief Command-line argument parser * - * You may be wondering why we don't use QCommandLineParser instead of a custom implmentation like + * You may be wondering why we don't use QCommandLineParser instead of a custom implementation like * this. The reason why is because QCommandLineParser requires a QApplication object of some kind * to already have been created before it can parse anything, but we need to be able to control * whether a QApplication (GUI-mode) or a QCoreApplication (CLI-mode) is created which is set by diff --git a/app/common/rational.cpp b/app/common/rational.cpp index fd5641047..9aa20426c 100644 --- a/app/common/rational.cpp +++ b/app/common/rational.cpp @@ -309,7 +309,7 @@ bool rational::operator<(const rational &rhs) const if (rhs == RATIONAL_MAX || *this == RATIONAL_MIN) { - // We will always wither be LESS THAN (true) or EQUAL (false) + // We will always either be LESS THAN (true) or EQUAL (false) return (*this != rhs); } @@ -342,7 +342,7 @@ bool rational::operator<=(const rational &rhs) const if (rhs == RATIONAL_MAX || *this == RATIONAL_MIN) { - // We will always wither be LESS THAN (true) or EQUAL (true) + // We will always either be LESS THAN (true) or EQUAL (true) return true; } diff --git a/app/widget/slider/base/sliderlabel.cpp b/app/widget/slider/base/sliderlabel.cpp index 02073b5bd..b5c851515 100644 --- a/app/widget/slider/base/sliderlabel.cpp +++ b/app/widget/slider/base/sliderlabel.cpp @@ -48,7 +48,7 @@ SliderLabel::SliderLabel(QWidget *parent) : // Allow users to tab to this widget setFocusPolicy(Qt::TabFocus); - // Add ccustom context menu + // Add custom context menu setContextMenuPolicy(Qt::CustomContextMenu); } diff --git a/app/widget/viewer/viewerdisplay.h b/app/widget/viewer/viewerdisplay.h index 4ebf91c0d..b87d16dbe 100644 --- a/app/widget/viewer/viewerdisplay.h +++ b/app/widget/viewer/viewerdisplay.h @@ -263,7 +263,7 @@ private: QMatrix4x4 translate_matrix_; /** - * @breif Scale only matrix. + * @brief Scale only matrix. */ QMatrix4x4 scale_matrix_; diff --git a/docker/scripts/build_ffmpeg.sh b/docker/scripts/build_ffmpeg.sh index ddb43212b..646129a6a 100644 --- a/docker/scripts/build_ffmpeg.sh +++ b/docker/scripts/build_ffmpeg.sh @@ -6,7 +6,7 @@ # # Uses { command } & pattern for parallelism https://gist.github.com/thenadz/6c0584d42fb007582fbc # -# TOOD: Use advanced options such as LTO? e.g. https://code.videolan.org/videolan/x264/-/blob/master/configure +# TODO: Use advanced options such as LTO? e.g. https://code.videolan.org/videolan/x264/-/blob/master/configure # TODO: Enable debug symbols? (Or is it opt-out?) # TODO: Add more ffmpeg libraries? See https://raw.githubusercontent.com/jrottenberg/ffmpeg/master/docker-images/4.2/centos7/Dockerfile