Fix typos cont.

This commit is contained in:
luz.paz
2020-03-21 13:46:38 -04:00
parent e6b484a523
commit 4e1cd870a9
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -493,7 +493,7 @@ bool FFmpegDecoder::Probe(Footage *f, const QAtomicInt* cancelled)
// Result to return
bool result = false;
// Convert QString to a C strng
// Convert QString to a C string
QByteArray ba = f->filename().toUtf8();
const char* filename = ba.constData();
@@ -792,7 +792,7 @@ void FFmpegDecoder::UnconditionalAudioIndex(const QAtomicInt* cancelled)
} else {
// No resampling required, we can write directly from te frame buffer
// No resampling required, we can write directly from the frame buffer
data = reinterpret_cast<char*>(frame->data[0]);
nb_samples = frame->nb_samples;
+1 -1
View File
@@ -31,7 +31,7 @@ void FFmpegEncoder::WriteAudio(const AudioRenderingParams &pcm_info, const QStri
// If we're encoding video, use enough samples to cover roughly one frame of video
maximum_frame_samples = params().audio_params().time_to_samples(params().video_params().time_base());
} else {
// If no video, just use an arbitary number
// If no video, just use an arbitrary number
maximum_frame_samples = 256;
}
}
+1 -1
View File
@@ -165,7 +165,7 @@ void NodeMetaReader::XMLReadIterations(QXmlStreamReader* reader)
if (iterations_ > 0) {
iterations_ = iteration_pickup;
} else {
// If the iteration value is invalid, don't set it, print an error insteead
// If the iteration value is invalid, don't set it, print an error instead
qWarning() << "Invalid iteration number in" << xml_filename_ << "- setting to default (1)";
}
}
+1 -1
View File
@@ -66,7 +66,7 @@ protected:
signals:
/**
* @brief Signal emitted whenever the time changes on this ruler, either by user or programatically
* @brief Signal emitted whenever the time changes on this ruler, either by user or programmatically
*/
void TimeChanged(int64_t);