From 566c8f5a82979a4de05a19bf172cc1e119665bd9 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Sat, 6 Jan 2018 02:22:05 -0600 Subject: [PATCH] Spelling and typo fixes. Thanks Gelma for the pull request --- include/Coordinate.h | 2 +- include/DecklinkReader.h | 2 +- include/DecklinkWriter.h | 2 +- include/effects/ChromaKey.h | 2 +- src/CacheDisk.cpp | 2 +- src/CacheMemory.cpp | 2 +- src/Clip.cpp | 2 +- src/FrameMapper.cpp | 2 +- src/Qt/AudioPlaybackThread.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/Coordinate.h b/include/Coordinate.h index e686894b..0ca6b7b8 100644 --- a/include/Coordinate.h +++ b/include/Coordinate.h @@ -77,7 +77,7 @@ namespace openshot { Fraction Repeat() { return repeated; } /// @brief Set the increasing flag (used internally on the timeline, to track changes to coordinates) - /// @param is_increasing Indicates if this coorindate Y value is increasing (when compared to the previous coordinate) + /// @param is_increasing Indicates if this coordinate Y value is increasing (when compared to the previous coordinate) void IsIncreasing(bool is_increasing) { increasing = is_increasing; } /// Get the increasing flag (used internally on the timeline, to track changes to coordinates) diff --git a/include/DecklinkReader.h b/include/DecklinkReader.h index 1269f5e2..3ce9273f 100644 --- a/include/DecklinkReader.h +++ b/include/DecklinkReader.h @@ -56,7 +56,7 @@ namespace openshot * @brief This class uses the Blackmagic Decklink libraries, to open video streams on Blackmagic devices. * * This requires special hardware manufactured by Blackmagic Designs. - * Once the device is aquired and connected, this reader returns openshot::Frame objects containing the image and audio data. + * Once the device is acquired and connected, this reader returns openshot::Frame objects containing the image and audio data. */ class DecklinkReader : public ReaderBase { diff --git a/include/DecklinkWriter.h b/include/DecklinkWriter.h index 9e40fe40..00ac8b3e 100644 --- a/include/DecklinkWriter.h +++ b/include/DecklinkWriter.h @@ -56,7 +56,7 @@ namespace openshot * @brief This class uses the Blackmagic Decklink libraries, to send video streams to Blackmagic devices. * * This requires special hardware manufactured by Blackmagic Designs. - * Once the device is aquired and connected, this reader returns openshot::Frame objects containing the image and audio data. + * Once the device is acquired and connected, this reader returns openshot::Frame objects containing the image and audio data. */ class DecklinkWriter : public WriterBase { diff --git a/include/effects/ChromaKey.h b/include/effects/ChromaKey.h index 58cd3b7a..000dbba4 100644 --- a/include/effects/ChromaKey.h +++ b/include/effects/ChromaKey.h @@ -70,7 +70,7 @@ namespace openshot /// more colors are matched. /// /// @param color The color to match - /// @param fuzz The fuzz factor (or threshhold) + /// @param fuzz The fuzz factor (or threshold) ChromaKey(Color color, Keyframe fuzz); /// @brief This method is required for all derived classes of EffectBase, and returns a diff --git a/src/CacheDisk.cpp b/src/CacheDisk.cpp index 076c01be..23854f3a 100644 --- a/src/CacheDisk.cpp +++ b/src/CacheDisk.cpp @@ -471,7 +471,7 @@ string CacheDisk::Json() { // Generate Json::JsonValue for this object Json::Value CacheDisk::JsonValue() { - // Proccess range data (if anything has changed) + // Process range data (if anything has changed) CalculateRanges(); // Create root json object diff --git a/src/CacheMemory.cpp b/src/CacheMemory.cpp index 6600d9b7..f830d74e 100644 --- a/src/CacheMemory.cpp +++ b/src/CacheMemory.cpp @@ -327,7 +327,7 @@ string CacheMemory::Json() { // Generate Json::JsonValue for this object Json::Value CacheMemory::JsonValue() { - // Proccess range data (if anything has changed) + // Process range data (if anything has changed) CalculateRanges(); // Create root json object diff --git a/src/Clip.cpp b/src/Clip.cpp index 70b93795..083348ce 100644 --- a/src/Clip.cpp +++ b/src/Clip.cpp @@ -598,7 +598,7 @@ std::shared_ptr Clip::GetOrCreateFrame(int64_t number) // Determine the max size of this clips source image (based on the timeline's size, the scaling mode, // and the scaling keyframes). This is a performance improvement, to keep the images as small as possible, - // without loosing quality. NOTE: We cannot go smaller than the timeline itself, or the add_layer timeline + // without losing quality. NOTE: We cannot go smaller than the timeline itself, or the add_layer timeline // method will scale it back to timeline size before scaling it smaller again. This needs to be fixed in // the future. if (scale == SCALE_FIT || scale == SCALE_STRETCH) { diff --git a/src/FrameMapper.cpp b/src/FrameMapper.cpp index db71b9c0..16bb1c2c 100644 --- a/src/FrameMapper.cpp +++ b/src/FrameMapper.cpp @@ -483,7 +483,7 @@ std::shared_ptr FrameMapper::GetFrame(int64_t requested_frame) // converter isn't input limited. const int EXTRA_INPUT_SAMPLES = 20; - // Extend end sample count by an addtional EXTRA_INPUT_SAMPLES samples + // Extend end sample count by an additional EXTRA_INPUT_SAMPLES samples copy_samples.sample_end += EXTRA_INPUT_SAMPLES; int samples_per_end_frame = Frame::GetSamplesPerFrame(copy_samples.frame_end, original, diff --git a/src/Qt/AudioPlaybackThread.cpp b/src/Qt/AudioPlaybackThread.cpp index 2d5d6efb..60090bf9 100644 --- a/src/Qt/AudioPlaybackThread.cpp +++ b/src/Qt/AudioPlaybackThread.cpp @@ -61,7 +61,7 @@ namespace openshot audioDeviceManager.dispatchPendingMessages(); } - // Construtor + // Constructor AudioPlaybackThread::AudioPlaybackThread() : Thread("audio-playback") , player()