Fix typos
This commit is contained in:
@@ -35,7 +35,7 @@ class GstBufferConsumer {
|
||||
virtual ~GstBufferConsumer() {}
|
||||
|
||||
// This is called in some unspecified GStreamer thread.
|
||||
// Ownership of the buffer is transferred to the BufferConsumer and it should gst_buffer_unref it.
|
||||
// Ownership of the buffer is transferred to the BufferConsumer, and it should gst_buffer_unref it.
|
||||
virtual void ConsumeBuffer(GstBuffer *buffer, const int pipeline_id, const QString &format) = 0;
|
||||
|
||||
private:
|
||||
|
||||
@@ -734,7 +734,7 @@ QByteArray GstEngine::FixupUrl(const QUrl &url) {
|
||||
}
|
||||
else {
|
||||
// Currently, Gstreamer can't handle input CD devices inside cdda URL.
|
||||
// So we handle them ourselves: we extract the track number and re-create an URL with only cdda:// + the track number (which can be handled by Gstreamer).
|
||||
// So we handle them ourselves: we extract the track number and re-create a URL with only cdda:// + the track number (which can be handled by Gstreamer).
|
||||
// We keep the device in mind, and we will set it later using SourceSetupCallback
|
||||
QStringList path = url.path().split('/');
|
||||
str = QString("cdda://%1").arg(path.takeLast());
|
||||
|
||||
@@ -244,7 +244,7 @@ class GstEnginePipeline : public QObject {
|
||||
qint64 next_beginning_offset_nanosec_;
|
||||
qint64 next_end_offset_nanosec_;
|
||||
|
||||
// Set temporarily when moving to the next contiguous section in a multi-part file.
|
||||
// Set temporarily when moving to the next contiguous section in a multipart file.
|
||||
bool ignore_next_seek_;
|
||||
|
||||
// Set temporarily when switching out the decode bin, so metadata doesn't get sent while the Player still thinks it's playing the last song
|
||||
@@ -257,7 +257,7 @@ class GstEnginePipeline : public QObject {
|
||||
QString source_device_;
|
||||
|
||||
// Seeking while the pipeline is in the READY state doesn't work, so we have to wait until it goes to PAUSED or PLAYING.
|
||||
// Also we have to wait for the playbin to be connected.
|
||||
// Also, we have to wait for the playbin to be connected.
|
||||
bool pipeline_is_initialized_;
|
||||
bool pipeline_is_connected_;
|
||||
qint64 pending_seek_nanosec_;
|
||||
|
||||
Reference in New Issue
Block a user