GstEnginePipeline: Add missing end of stream

A bug was introduced when I added the mutex locker for the URLs, it did nothing when it was supposed to emit end of stream.

Fixes #1568
This commit is contained in:
Jonas Kvinge
2024-09-29 23:40:09 +02:00
parent 4479daeaf1
commit b50da3eba4
2 changed files with 20 additions and 15 deletions

View File

@@ -106,6 +106,7 @@ class GstEnginePipeline : public QObject {
// If this is set then it will be loaded automatically when playback finishes for gapless playback
bool HasNextUrl() const;
bool HasMatchingNextUrl() const;
void PrepareNextUrl(const QUrl &media_url, const QUrl &stream_url, const QByteArray &gst_url, const qint64 beginning_nanosec, const qint64 end_nanosec);
void SetNextUrl();