Skip to content

Commit 650d3ec

Browse files
author
Chris Kirmse
committed
fix grammar error with possessive its and update sample for audio parameter
1 parent 3f17601 commit 650d3ec

32 files changed

+49
-48
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77
# Copyright (c) 2008-2014 OpenShot Studios, LLC
88
# <http://www.openshotstudios.com/>. This file is part of
9-
# OpenShot Library (libopenshot), an open-source project dedicated to
10-
# delivering high quality video editing and animation solutions to the
9+
# OpenShot Library (libopenshot), an open-source project dedicated to
10+
# delivering high quality video editing and animation solutions to the
1111
# world. For more information visit <http://www.openshot.org/>.
1212
#
1313
# OpenShot Library (libopenshot) is free software: you can redistribute it
@@ -41,8 +41,8 @@ MESSAGE("Determining Version Number (from Version.h file)")
4141
#### Get the lines related to libopenshot version from the Version.h header
4242
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/include/Version.h OPENSHOT_VERSION_LINES
4343
REGEX "#define[ ]+OPENSHOT_VERSION_.*[0-9]+;.*")
44-
45-
#### Set each line into it's own variable
44+
45+
#### Set each line into its own variable
4646
list (GET OPENSHOT_VERSION_LINES 0 LINE_MAJOR)
4747
list (GET OPENSHOT_VERSION_LINES 1 LINE_MINOR)
4848
list (GET OPENSHOT_VERSION_LINES 2 LINE_BUILD)

include/Clip.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ namespace openshot {
142142
void reverse_buffer(juce::AudioSampleBuffer* buffer);
143143

144144
public:
145-
GravityType gravity; ///< The gravity of a clip determines where it snaps to it's parent
146-
ScaleType scale; ///< The scale determines how a clip should be resized to fit it's parent
145+
GravityType gravity; ///< The gravity of a clip determines where it snaps to its parent
146+
ScaleType scale; ///< The scale determines how a clip should be resized to fit its parent
147147
AnchorType anchor; ///< The anchor determines what parent a clip should snap to
148148
FrameDisplayType display; ///< The format to display the frame number (if any)
149149
VolumeMixType mixing; ///< What strategy should be followed when mixing audio with other clips

include/EffectBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ namespace openshot
8282
/// modified openshot::Frame object
8383
///
8484
/// The frame object is passed into this method, and a frame_number is passed in which
85-
/// tells the effect which settings to use from it's keyframes (starting at 1).
85+
/// tells the effect which settings to use from its keyframes (starting at 1).
8686
///
8787
/// @returns The modified openshot::Frame object
8888
/// @param frame The frame object that needs the effect applied to it

include/FFmpegReader.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ namespace openshot
150150
/// Check the current seek position and determine if we need to seek again
151151
bool CheckSeek(bool is_video);
152152

153-
/// Check if a frame is missing and attempt to replace it's frame image (and
153+
/// Check if a frame is missing and attempt to replace its frame image (and
154154
bool CheckMissingFrame(int64_t requested_frame);
155155

156156
/// Check the working queue, and move finished frames to the finished queue
@@ -198,10 +198,10 @@ namespace openshot
198198
/// Read the stream until we find the requested Frame
199199
std::shared_ptr<Frame> ReadStream(int64_t requested_frame);
200200

201-
/// Remove AVFrame from cache (and deallocate it's memory)
201+
/// Remove AVFrame from cache (and deallocate its memory)
202202
void RemoveAVFrame(AVFrame*);
203203

204-
/// Remove AVPacket from cache (and deallocate it's memory)
204+
/// Remove AVPacket from cache (and deallocate its memory)
205205
void RemoveAVPacket(AVPacket*);
206206

207207
/// Seek to a specific Frame. This is not always frame accurate, it's more of an estimation on many codecs.
@@ -228,7 +228,7 @@ namespace openshot
228228
/// frame 1, or it throws one of the following exceptions.
229229
FFmpegReader(string path);
230230

231-
/// Constructor for FFmpegReader. This only opens the media file to inspect it's properties
231+
/// Constructor for FFmpegReader. This only opens the media file to inspect its properties
232232
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
233233
/// when you are inflating the object using JSON after instantiating it.
234234
FFmpegReader(string path, bool inspect_reader);

include/FFmpegWriter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace openshot
8383
* FFmpegWriter w("/home/jonathan/NewVideo.webm");
8484
*
8585
* // Set options
86-
* w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
86+
* w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
8787
* w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
8888
*
8989
* // Open the writer
@@ -110,7 +110,7 @@ namespace openshot
110110
* FFmpegWriter w("/home/jonathan/NewVideo.webm");
111111
*
112112
* // Set options
113-
* w.SetAudioOptions(true, "libvorbis", 44100, 2, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
113+
* w.SetAudioOptions(true, "libvorbis", 44100, 2, ChannelLayout::LAYOUT_STEREO, 128000); // Sample Rate: 44100, Channels: 2, Bitrate: 128000
114114
* w.SetVideoOptions(true, "libvpx", openshot::Fraction(24,1), 720, 480, openshot::Fraction(1,1), false, false, 300000); // FPS: 24, Size: 720x480, Pixel Ratio: 1/1, Bitrate: 300000
115115
*
116116
* // Prepare Streams (Optional method that must be called before any SetOption calls)

include/Frame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ namespace openshot
197197
/// Clean up buffer after QImage is deleted
198198
static void cleanUpBuffer(void *info);
199199

200-
/// Clear the waveform image (and deallocate it's memory)
200+
/// Clear the waveform image (and deallocate its memory)
201201
void ClearWaveform();
202202

203203
/// Copy data and pointers from another Frame instance

include/ImageReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace openshot
7777
/// frame 1, or it throws one of the following exceptions.
7878
ImageReader(string path);
7979

80-
/// Constructor for ImageReader. This only opens the media file to inspect it's properties
80+
/// Constructor for ImageReader. This only opens the media file to inspect its properties
8181
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
8282
/// when you are inflating the object using JSON after instantiating it.
8383
ImageReader(string path, bool inspect_reader);

include/ImageWriter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace openshot
127127
/// @param height Height in pixels of image
128128
/// @param quality Quality of image (0 to 100, 70 is default)
129129
/// @param loops Number of times to repeat the image (used on certain multi-frame image formats, such as GIF)
130-
/// @param combine Combine frames into a single image (if possible), or save each frame as it's own image
130+
/// @param combine Combine frames into a single image (if possible), or save each frame as its own image
131131
void SetVideoOptions(string format, Fraction fps, int width, int height,
132132
int quality, int loops, bool combine);
133133

include/QtImageReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ namespace openshot
7575
/// frame 1, or it throws one of the following exceptions.
7676
QtImageReader(string path);
7777

78-
/// Constructor for QtImageReader. This only opens the media file to inspect it's properties
78+
/// Constructor for QtImageReader. This only opens the media file to inspect its properties
7979
/// if inspect_reader=true. When not inspecting the media file, it's much faster, and useful
8080
/// when you are inflating the object using JSON after instantiating it.
8181
QtImageReader(string path, bool inspect_reader);

include/Timeline.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ namespace openshot {
100100
* Fraction(25,1), // framerate
101101
* 44100, // sample rate
102102
* 2 // channels
103+
* ChannelLayout::LAYOUT_STEREO,
103104
* );
104105
*
105106
* // Create some clips

0 commit comments

Comments
 (0)