Fix typos cont.
This commit is contained in:
@@ -493,7 +493,7 @@ bool FFmpegDecoder::Probe(Footage *f, const QAtomicInt* cancelled)
|
|||||||
// Result to return
|
// Result to return
|
||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
// Convert QString to a C strng
|
// Convert QString to a C string
|
||||||
QByteArray ba = f->filename().toUtf8();
|
QByteArray ba = f->filename().toUtf8();
|
||||||
const char* filename = ba.constData();
|
const char* filename = ba.constData();
|
||||||
|
|
||||||
@@ -792,7 +792,7 @@ void FFmpegDecoder::UnconditionalAudioIndex(const QAtomicInt* cancelled)
|
|||||||
|
|
||||||
} else {
|
} 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]);
|
data = reinterpret_cast<char*>(frame->data[0]);
|
||||||
nb_samples = frame->nb_samples;
|
nb_samples = frame->nb_samples;
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
// 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());
|
maximum_frame_samples = params().audio_params().time_to_samples(params().video_params().time_base());
|
||||||
} else {
|
} else {
|
||||||
// If no video, just use an arbitary number
|
// If no video, just use an arbitrary number
|
||||||
maximum_frame_samples = 256;
|
maximum_frame_samples = 256;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ void NodeMetaReader::XMLReadIterations(QXmlStreamReader* reader)
|
|||||||
if (iterations_ > 0) {
|
if (iterations_ > 0) {
|
||||||
iterations_ = iteration_pickup;
|
iterations_ = iteration_pickup;
|
||||||
} else {
|
} 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)";
|
qWarning() << "Invalid iteration number in" << xml_filename_ << "- setting to default (1)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ protected:
|
|||||||
|
|
||||||
signals:
|
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);
|
void TimeChanged(int64_t);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user