fix grammar error with possessive its and update sample for audio parameter

This commit is contained in:
Chris Kirmse
2019-03-14 09:26:56 -07:00
parent 3f17601db6
commit 650d3ec820
32 changed files with 49 additions and 48 deletions

View File

@@ -49,7 +49,7 @@ FFmpegReader::FFmpegReader(string path)
missing_frames.SetMaxBytesFromInfo(OPEN_MP_NUM_PROCESSORS * 2, info.width, info.height, info.sample_rate, info.channels);
final_cache.SetMaxBytesFromInfo(OPEN_MP_NUM_PROCESSORS * 2, info.width, info.height, info.sample_rate, info.channels);
// Open and Close the reader, to populate it's attributes (such as height, width, etc...)
// Open and Close the reader, to populate its attributes (such as height, width, etc...)
Open();
Close();
}
@@ -71,7 +71,7 @@ FFmpegReader::FFmpegReader(string path, bool inspect_reader)
missing_frames.SetMaxBytesFromInfo(OPEN_MP_NUM_PROCESSORS * 2, info.width, info.height, info.sample_rate, info.channels);
final_cache.SetMaxBytesFromInfo(OPEN_MP_NUM_PROCESSORS * 2, info.width, info.height, info.sample_rate, info.channels);
// Open and Close the reader, to populate it's attributes (such as height, width, etc...)
// Open and Close the reader, to populate its attributes (such as height, width, etc...)
if (inspect_reader) {
Open();
Close();
@@ -1698,7 +1698,7 @@ bool FFmpegReader::IsPartialFrame(int64_t requested_frame) {
return seek_trash;
}
// Check if a frame is missing and attempt to replace it's frame image (and
// Check if a frame is missing and attempt to replace its frame image (and
bool FFmpegReader::CheckMissingFrame(int64_t requested_frame)
{
// Lock
@@ -2025,7 +2025,7 @@ void FFmpegReader::CheckFPS()
}
}
// Remove AVFrame from cache (and deallocate it's memory)
// Remove AVFrame from cache (and deallocate its memory)
void FFmpegReader::RemoveAVFrame(AVFrame* remove_frame)
{
// Remove pFrame (if exists)
@@ -2042,7 +2042,7 @@ void FFmpegReader::RemoveAVFrame(AVFrame* remove_frame)
}
}
// Remove AVPacket from cache (and deallocate it's memory)
// Remove AVPacket from cache (and deallocate its memory)
void FFmpegReader::RemoveAVPacket(AVPacket* remove_packet)
{
// deallocate memory for packet